I am new to the Spring Boot! The Spring Boot project I am currently working on uses Selenium for testing UI. I wonder if there is a proper way to use Spring Boot’s clickable events to trigger JavaScript functions which would perform some UI testing. Is it even a good practice to do testing this way? Thank you!
I tried calling the JS functions inside the Thymeleaf and it worked. Not sure if there are better ways of doing this or if it is even a good practice.
Mikhail is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.