Привет, я только что попал в селен и веб-драйверы, и я наткнулся на эту конкретную ошибку при попытке запустить.
Traceback (most recent call last):
File "C:\Users\patri\Desktop\Python Projects\selenium\slnium.py", line 6, in <module>
driver = webdriver.Chrome(path)
File "C:\Users\patri\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 76, in __init__
RemoteWebDriver.__init__(
File "C:\Users\patri\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users\patri\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C:\Users\patri\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\patri\AppData\Local\Programs\Python\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created
from disconnected: not connected to DevTools
(Session info: chrome=90.0.4430.72)
OOH и BTW, мой веб-драйвер и Chrome обновлены.