Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
So in our project we are using spring boot with thymeleaf and vanilla javascript to render web pages. Now while writing our UI tests we are currently using HTML Unit as a headless browser as it integrates rather well with spring boot.
However , whenever we use a little advanced calls like
array.flatMap
etc html unit fails as its engine does nit support those.
So we are looking for an alternative to explore to plugin into our environment.
Can someone please advise a headless browser that we can integrate . into our spring boot application ? Also if possible any documentation to integrate will help?
Appreciate the help.
You can use Cypress running in a Docker container. To make this a bit easier you can use
https://github.com/wimdeblauwe/testcontainers-cypress
Disclaimer: I am the author of the
testcontainers-cypress
library.
–
–
–
–
Thanks for contributing an answer to Stack Overflow!
-
Please be sure to
answer the question
. Provide details and share your research!
But
avoid
…
-
Asking for help, clarification, or responding to other answers.
-
Making statements based on opinion; back them up with references or personal experience.
To learn more, see our
tips on writing great answers
.