-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Closed
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended
Description
What happened?
Running the python program give a direct exception:
Traceback (most recent call last):
File "/home/deadf00d/Documents/RedditBot/bot.py", line 3, in <module>
driver = webdriver.Firefox()
File "/usr/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 180, in __init__
RemoteWebDriver.__init__(
File "/usr/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 266, in __init__
self.start_session(capabilities, browser_profile)
File "/usr/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 357, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 420, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 244, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: Host header doesn't match server localhost:60955
How can we reproduce the issue?
from selenium import webdriver
driver = webdriver.Firefox()
driver.get("https://dev.to")Relevant log output
NaNOperating System
Linux deadf00d 5.14.14-arch1-1 #1 SMP PREEMPT Wed, 20 Oct 2021 21:35:18 +0000 x86_64 GNU/Linux
Selenium version
Python - Selenium 4.0.0
What are the browser(s) and version(s) where you see this issue?
Firefox 93.0 (64 bit)
What are the browser driver(s) and version(s) where you see this issue?
geckodriver 0.30.0 (d372710b98a6 2021-09-16 10:29 +0300)
Are you using Selenium Grid?
No (i guess)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-needs-triagingA Selenium member will evaluate this soon!A Selenium member will evaluate this soon!I-defectSomething is not working as intendedSomething is not working as intended