Selenium tests: Which URL to open?

selenium

#1

Hi there,

this question surely is quite “stupid” when the answer is known, but I am stuck:
Under which URL can selenium reach my repo? Or, in other words, what do I need to pass to WebDriver::get()?
I tried a bunch of stuff like
localhost
http://localhost/
http://localhost/repo/
https://127.0.0.1/
and some more, but all I can get is this error message:

This site can’t be reached
localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
Reload
DETAILS

I think this error message is send from selenium webdriver to stdout.

Thanks
Philipp


#2

Hi,

you can delete this one. I have to install a webserver like apache on the image I use. It didnt occur to me apache couldn’t be pre-installed, seemed so apparent :slight_smile:

Cheers
Philipp