Hello everybody,
I'm writing a very simple
test of a web application using Spring Boot and Selenium. Here is the code:
But the test always fails. The two println sentences show that the baseUrl is
http://localhost:0 and the title is an empty
string.
Is it correct that random port is 0? It sounds me strange, in fact the title is the empty string, but running the app "normally" (not as test) I can see that the title is "Login".