-
Notifications
You must be signed in to change notification settings - Fork 68
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
axe cli apparently not respecting the --chromedriver-path argument #370
Comments
BTW I am getting the same error when I run without the ❯ axe https://example.com --show-errors
Running axe-core 4.3.3 in chrome-headless
Error: "session not created: This version of ChromeDriver only supports Chrome version 90\nCurrent browser version is 93.0.4577.82 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
$s SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 90
Current browser version is 93.0.4577.82 with binary path /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
at Object.throwDecodedError (/usr/local/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/lib/error.js:517:15)
at parseHttpResponse (/usr/local/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/lib/http.js:643:13)
at Executor.execute (/usr/local/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/lib/http.js:569:28)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Please report the problem to: https://github.com/dequelabs/axe-core-npm/issues/ |
I observe the same issue in Mac. Happy to provide steps to reproduce, if required. Thanks.
|
Im having the same issue on Mac as well.
I notice there is a update chromedriver to use v95.x merge. #392 I tried to copy in the file, and npm install it but end up with
|
Hello All, Thanks for submitting this issue. We have recently merged a PR to resolve using a different Chrome Driver version. However, after some investigation it appears your actual Chrome and Chrome driver have to match other wise this error will occur. For example, I have V96 of Chrome installed and I am able to use V96-97 but I cannot use anything prior to V96.
Source: chromedriver.chromium.org |
This bug is still an issue. Chrome and chromedriver versions match. |
Hey @zacharyFolwick, Could you please confirm if you have tried the |
Closing due to inactivity. Please feel free to reopen if the issue is still apparent in 4.4.1. |
Its still the same even in 4.7.3. I've downloaded the chrome driver 113 from here: https://chromedriver.chromium.org/downloads and my current google chrome version is 115, but its expecting 113. Whats the point of providing the parameter if the installed browser and driver for testing needs to match anyway. If I downgrade my chrome, then it would be solved automatically. |
Correct - unfortunately, that is not a limitation of the CLI. Chromedriver requires the Chrome version to match (or be at least +/- 1). |
Product: cli
Expectation: I expect that using the
--chromedriver-path
to specify a path should workActual: It apparently ignores it
Example:
Motivation: I’m just trying to use the CLI 😂
The text was updated successfully, but these errors were encountered: