-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to deal with webdriver versioning issues? #112
Comments
Honestly, I think the usage of the Selenium/standalone-chrome Docker container would be the best for long running code. You can access it via the webdriver.Remote() function of Selenium, or set it up as your path for SELENIUM_COMMAND_EXECUTOR in this package, within your Scrapy settings.py. This will help avoid chrome and driver versioning issues. Otherwise, you can use the ChromeDriverManager package, specifically the ChromeDriverManager.install() method |
Did you find any solution to this problem? |
Sounds like you have the incorrect ChromeDriver version for your Chrome browser version. |
Yeah..I have been updating chromedriver according to the chrome browser version, but I want to skip the version checking or have a solution that does not require manual updating of chromedriver. |
I'm getting
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 88 Current browser version is 93.0.4577.63 with binary path /usr/bin/google-chrome
and I can't find a solution for it. I'm sure a lot encounter this.Is there a way to go over this and maybe get rid of specifying the driver executable? Maybe using
webdriver-manager
package?The text was updated successfully, but these errors were encountered: