Skip to content
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

selenium-download won't download chromedriver 115+ #63

Open
joshden opened this issue Jul 28, 2023 · 0 comments
Open

selenium-download won't download chromedriver 115+ #63

joshden opened this issue Jul 28, 2023 · 0 comments

Comments

@joshden
Copy link

joshden commented Jul 28, 2023

selenium-download isn't downloading versions of chromedriver later than 114. Here's an example (in Git Bash):

Josh@Joshden MINGW64 ~/app (master)
$ rm bin/*

Josh@Joshden MINGW64 ~/app (master)
$ node selenium-setup.js 
[testium] grabbing selenium chromedriver 114.0.5735.90
[testium] grabbing selenium standalone server 3.141.59

Josh@Joshden MINGW64 ~/app (master)
$ bin/chromedriver.exe --version
ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052})

This is our selenium-setup.js file:

const selenium = require('selenium-download');

selenium.update(__dirname + '/bin', function (error) {
  if (error) console.error(error.stack);
  process.exit(0);
});

I assume this is due to the new Chrome For Test, starting in Chrome 115, announced in these places:

For now we are moving our project to use the chomedriver npm package and running the chromedriver binary it installs. In the future, we might look into using Chrome For Test and @puppeteer/browsers to install Chrome and chromedriver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant