chromedriver.exe file is in the folder it works.
the version is 80.0.3987.116. also the chrome's version is 80.0.3987.116.
driver = webdriver.Chrome()
this doesn't work. with that error message.
WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist
I thought this error is because of updating chrome hours ago
Then I changed my code with chromeoptions
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--headless")
chrome_options.add_argument("--no-sandbox")
chrome_options.add_argument('--disable-dev-shm-usage')
chrome_options.add_argument("--remote-debugging-port=9222")
driver = webdriver.Chrome('chromedriver', options= chrome_options)
also doesn't work with another error.
SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 80
The version is matched with chrome version.
I tried installing a different version of chromedriver and got the same error.
SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 79
how can i fix it?