-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello
when i connect to the container with webdriver.remote i get this error.
selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=dnsNotFound&u=https%3A//www.youtube.com/&c=UTF-8&d=We%20can%E2%80%99t%20connect%20to%20the%20server%20at%20www.youtube.com
Here is my code.
options = Options()
options.add_argument("--headless")
driver = webdriver.Remote(command_executor="172.18.0.1:4444", options=options)
driver.get("https://www.youtube.com")
And to run the container i used
docker run -d -p 4444:4444 instrumentisto/geckodriver
As the command_executor i used 172.18.0.1:4444 because im running it on a wsl and 172.18.0.1 is my local adress that docker uses.
thanks in advance for the help 😃
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working