-
-
Notifications
You must be signed in to change notification settings - Fork 678
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
Issue with Latest Chrome Driver Version 74? #318
Comments
Updating to the latest version of webdrivermanager (3.3.0) should fix it. |
The solution to this problem is upgrading to the latest version of WebDriverManager, i.e. 3.3.0 at the time of this writing. Old versions of WDM simply downloads the latest versions of binaries. Latest version of chromedriver at this moment is 74.*, which is incompatible with Chrome 73 (which is the stable now). But as of version 3, WDM finds out the version of the browser (Chrome in this case), mapping the proper binary (chromedriver). This info is stored internally in the file versions.properties. If the browser is unknown in the local version, the online master version of that file is read instead. All in all, you need to upgrade WDM and then resolve the binary as usual:
Said that, it is possible that the problem still happens using version 3.3.0, at least for a while. Latest versions of WDM uses Java preferences to store persistently the resolved versions for binaries (as a file in Linux/Mac or in the registry in Windows). This value has a time-to-live value, by default 3600 seconds. It might happen that the bad version (chromedriver 74) for the browser (Chrome 73) has been stored. In this case, you can try this:
If the problem is solved now, the line |
I tried using 3.3.0 with clearPreferences(); without any luck and i also cleared java temps, ran mvn clean on the project, tried with different brower versions. All it does is download the correct version of the driver AND chrome driver 74. It then starts the incorrect driver for 74 |
I workaround the issue in a most easiest way ... I copy the driver from folder 73.0.3683.68 and replaced it in 74.0.3729.6. Works for me. |
Updated WebDriver manager dependency version to 3.3.0 and it worked for me. |
I have a same issue even when using WDM 3.3.0
Still getting
|
Hi, @bonigarcia I am also facing the same issue while using WDM , my chromedriver version showing is Latest version of chromedriver is 74.0.3729.6 and my chrome browser version is 72v. Getting this error :org.openqa.selenium.SessionNotCreatedException: session not created: This version of ChromeDriver only supports Chrome version 74 I tried your solution but that didn't work for me.!!! |
WebDriverManager.chromedriver().version("2.46").setup(); Try this , it work for me |
I am able to force webdriver version by -Dwdm.chromeDriverVersion=73 but its not acceptable for me. |
Hi I am using this with protractor on Windows. This seems to be a Linux thread and I know the issue is closed, but I am seeing the same issue on the Windows version: webdriver-manager v13.0.0 (Note: Updating to 3.30 won;t work because it's a different version for Linux vs Windows) All the folders are different so I can't employ the workaround listed here. Please provide a windows based workaround. Will the underlying defect be fixed? i.e., the mismatch with Chrome version? If this is the wrong place, where would I post this for a solution? (dup of my #313 comment) Cheers - RW |
@medy75 May I ask, where in the code did you force the chromeDriverVersion? Folder/File etc. Much Thanks, RW |
@RoakyWood via parameter when running tests with Maven |
@medy75 Thanks, RW |
Although the issue is the same, I am on the wrong forum, I needed npm "webdriver-manager", so I am headed there. Apologies..., RW |
I have a problem, with the last versión , chromedriver show me this message: Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code. I used the last versión of chromedriver and works fine but not work with webdrivermanager |
@jadcode your problem is not related with this issue. Message about port protection is only warning and has no impact on work of webdriver. If you want a help with setting up your project, use another thread or read documentation carefuly. |
Whether this will work when I execute from Jenkins? For my case, the chromedriver is starting but closing/crashing immediately. |
@medy75 did you find a different solution for getting this to work other than
None of the suggestions in this thread or 313 helps. |
I face the same issue on WDM 3.4.0 on a AWS CodeBuild with chrome 65 on it. I forced version("2.36") and version("2.45").setup() but with no luck. Any suggestions on this is highly appreciated. My buildspec install phase on codebuild looks something like this :
|
I found bumping from chromedriver 1.2.0 to 2.1.0+ resolved the issue; assuming it was looking for experimental versions via https://github.com/flavorjones/chromedriver-helper/blob/master/CHANGELOG.md#210---2018-09-18 |
Hi, Had same problem, but I have downloaded the latest chromedriver, from http://chromedriver.chromium.org/ and FIXED! Saad Malik |
can any one please help on this !!!!!
[RemoteTestNG] detected TestNG version 6.14.3 |
Even I am having similar issue, Chrome version :76.0.3809 I tried even downgrading version to 73, 74, 75 but no luck, WebDriverManager.chromedriver().version("74"); With the version 74, I am getting below error while triggering build from Azure DevOps, --------------*****************************************------------------------------------------------ I am getting similar error with the version 76, I am getting below error while triggering build from Azure DevOps. @bonigarcia Please address this latest issue. Thanks. |
My code is working locally but getting this issue with chrome version 74 and WebDrivermanager 3.6.2 while running from jenkin org.openqa.selenium.WebDriverException: |
Had SessionNotCreatedError, "This version of ChromeDriver only supports Chrome version 77" after my browser auto updated. Solved by going to chromedriver.chromium.org, downloading the latest, and then replacing the chromedriver.exe that was buried within my project. |
Currently whenever the tests are executing on windows with latest chrome driver 74.x version being pulled down, we are getting the following error. Tested on machines running windows 7, windows server 2012 among others. Used the stop gap work around to force use 2.46 in the mean time.
So should the 74.x be made the default here ?
The text was updated successfully, but these errors were encountered: