camicroscope / caMicroscope

Digital pathology image viewer with support for human/machine generated annotations and markups.
BSD 3-Clause "New" or "Revised" License
256 stars 295 forks source link

add chrome driver@125 explicitly. #975

Closed birm closed 5 months ago

birm commented 5 months ago

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.