Skip to content

Conversation

@birm
Copy link
Member

@birm birm commented Jun 14, 2024

On https://github.com/camicroscope/caMicroscope/actions/runs/9519258356/job/26242052785#step:8:22 noticed error ` Run npm install -g @axe-core/cli

added 84 packages in 5s

2 packages are looking for funding
run npm fund for details
Running axe-core 4.9.1 in chrome-headless
Error: session not created: This version of ChromeDriver only supports Chrome version 126
Current browser version is 125.0.6422.141 with binary path /opt/google/chrome/chrome

Please install a matching version of ChromeDriver and run axe with the --chromedriver-path option:

$ npm install -g chromedriver@<version>
$ axe --chromedriver-path $(npm root -g)/chromedriver/bin/chromedriver <url...>

(where is the first number of the "current browser version" reported above.)
Error: Process completed with exit code 2.`

Doing this to address that.

@birm birm changed the title add chrome driver@126 add chrome driver@125 explicitly. Jun 14, 2024
@birm birm merged commit 783162f into develop Jun 14, 2024
@birm birm deleted the axe-specify-chromedriver branch June 14, 2024 17: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.

2 participants