Добрый день!
Помогите, пожалуйста, начинающему. При запуске вот так получается
[avt@MiWiFi-RA69-srv triangletube]$ python start.py Загрузка...5 секунд.... Traceback (most recent call last): File "/home/avt/triangletube/start.py", line 16, in
driver = webdriver.Firefox(options=options)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in init
RemoteWebDriver.__init__(
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: Connection refused (os error 111)
Как решить? Спасибо.
Добрый день!
Помогите, пожалуйста, начинающему. При запуске вот так получается
[avt@MiWiFi-RA69-srv triangletube]$ python start.py Загрузка...5 секунд.... Traceback (most recent call last): File "/home/avt/triangletube/start.py", line 16, in
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/firefox/webdriver.py", line 170, in init
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
File "/usr/local/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
selenium.common.exceptions.TimeoutException: Message: Connection refused (os error 111)
Как решить? Спасибо.