Skip to content

make axe-core/cli work again#86

Merged
aloxe merged 6 commits into
mainfrom
make-axe-core-cli-work-again
Mar 12, 2025
Merged

make axe-core/cli work again#86
aloxe merged 6 commits into
mainfrom
make-axe-core-cli-work-again

Conversation

@aloxe
Copy link
Copy Markdown
Owner

@aloxe aloxe commented Mar 12, 2025

Trying to fix the issue

"Error: session not created: This version of ChromeDriver only supports Chrome version 121 Current browser version is 120.0.6099.224 with binary path /opt/google/chrome/chrome

also referenced here

added chrome but end up with the issue:

Error: SessionNotCreatedError: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir
    at Object.throwDecodedError (/opt/hostedtoolcache/node/20.18.3/x64/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/lib/error.js:521:15)

This error was reported to Selenium SeleniumHQ/selenium#14609

and was fixed in the patch ci: resolve chromedrivers not running in Ubuntu runners >=24.04 on axe-core-npm.

It looks like updating to the latest version of axe-core/cli@4.10.2-e53cd36.0 solves the last issue.

@aloxe aloxe force-pushed the make-axe-core-cli-work-again branch 6 times, most recently from e73bf29 to f0bb5ec Compare March 12, 2025 11:53
@aloxe aloxe force-pushed the make-axe-core-cli-work-again branch from 078f696 to 26dc109 Compare March 12, 2025 14:11
@aloxe aloxe force-pushed the make-axe-core-cli-work-again branch from 26dc109 to 2639e2c Compare March 12, 2025 14:12
@aloxe aloxe merged commit a8b9be4 into main Mar 12, 2025
@aloxe aloxe deleted the make-axe-core-cli-work-again branch March 12, 2025 14:42
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

Successfully merging this pull request may close these issues.

1 participant