Answer the question
In order to leave comments, you need to log in
Why does chromedriver (selenium) run on LAN?
You need to log in through the script on the site using chromedriver
path = './chromedriver.exe'
browser = Chrome(path, options=opts)
browser.get("https://login.dnevnik.ru/login")
Traceback (most recent call last):
File "C:\Users\Fantom\Desktop\DnevnikRuBot-master\DnevnikRuBot.py", line 225, in <module>
browser = Chrome(path, options=opts)
File "C:\Users\Fantom\AppData\Roaming\Python\Python39\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in __init__
self.service.start()
File "C:\Users\Fantom\AppData\Roaming\Python\Python39\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question