The method introduced in the application creation article (Taro-kun who presses the attendance button instead of you) is cut out and introduced separately. When using Selenium in Python, one day you suddenly get a SessionNotCreatedException.
SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 76
What to do when this comes out.
First, bring in a supported driver. ChromeDriver When you bring it, specify the location in the driver's executable_path at a suitable location in the project.
#Specify the version of chromedriver
driver = webdriver.Chrome(options=options, executable_path='chromedriver.exe location')
Check the version of Chrome browser you are using. Menu> Help> About Google Chrome After checking the version, get the same version of Chrome Driver and place it in a suitable place in the project. (For example, if the browser is 79.0.3945.130, DL ChromeDriver 79.0.3945.36) The rest is the same as ↑ and specify the location of the driver.
For now, either of these has been resolved, so please refer to it. I wonder if there is no other way than manually adjusting the version after the error occurs. ..
Recommended Posts