Latest chrome is not supported 115.0.5790.98 #523 #530
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Latest chrome is not supported 115.0.5790.98 #523
Open
jthacker opened this issue on Jul 21, 2023 · 12 comments
Open
Latest chrome is not supported 115.0.5790.98
#523
jthacker opened this issue on Jul 21, 2023 · 12 comments
Comments
@jthacker
jthacker commented on Jul 21, 2023
Background
As of version 115, chromedriver builds are now stored in a new repository.
Starting with M115 the latest Chrome + ChromeDriver releases per release channel (Stable, Beta, Dev, Canary) are available at the Chrome for Testing availability dashboard. For automated version downloading one can use the convenient JSON endpoints.
Reproducible case
docker run -it node:latest /bin/bash
mkdir /tmp/project && cd /tmp/project
npm install webdriver-manager
npx webdriver-manager update --versions.chrome=115.0.5790.98
Output
npx webdriver-manager update --versions.chrome=115.0.5790.98
webdriver-manager: using local installed version 12.1.9
[00:23:47] I/file_manager - creating folder /tmp/node_modules/webdriver-manager/selenium
[00:23:47] I/config_source - curl -o/tmp/node_modules/webdriver-manager/selenium/standalone-response.xml https://selenium-release.storage.googleapis.com/
[00:23:47] I/config_source - curl -o/tmp/node_modules/webdriver-manager/selenium/chrome-response.xml https://chromedriver.storage.googleapis.com/
[00:23:47] I/config_source - curl -o/tmp/node_modules/webdriver-manager/selenium/gecko-response.json https://api.github.com/repos/mozilla/geckodriver/releases
[00:23:47] E/downloader - options.uri is a required argument
[00:23:47] I/update - chromedriver: file exists /tmp/node_modules/webdriver-manager/selenium/chromedriver_115.0.5790.98.zip
[00:23:47] I/update - chromedriver: unzipping chromedriver_115.0.5790.98.zip
/tmp/node_modules/webdriver-manager/built/lib/cmds/update.js:232
throw new Error(
Invalid filename: ${path.resolve(outputDir, fileName)}
);^
Error: Invalid filename: /tmp/node_modules/webdriver-manager/selenium/chromedriver_115.0.5790.98.zip
at unzip (/tmp/node_modules/webdriver-manager/built/lib/cmds/update.js:232:19)
at /tmp/node_modules/webdriver-manager/built/lib/cmds/update.js:205:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 1)