ARTICLE AD BOX
I'm trying to run chromedriver and I am using Boni Garcia's WebDriverManager (v6.3.3 - latest version)for version control.
The app is here: https://github.com/Vanilla2016/accountBatch
I am running the associated test. I have worked through numerous errors regarding the chromedriver version not being the same as my browser executable.
I'm am now emphatically specifying WebDriverManager to use chromedriver 145.0.7632.26 - the exact the same version as my Chrome version.
I also flush the cache every time I run the app as below:
"String targetVersion = "145.0.7632.26"; // Replace with your version WebDriverManager.chromedriver().clearDriverCache().browserVersion(targetVersion).setup();"WebDriverManager definitely downloads this chromedriver.exe version to
C:\\Users\\domin\\.cache\\selenium\\chromedriver\\win64\\145.0.7632.26No matter what I still get the following:
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: Failed to create Chrome process.The Selenium driver and browser are exactly the same. I don't know what the problem is.
Could somebody please advise me on Selenium configuration? Any insight would be much appreciated.
2
