-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Description
I am on Debian where the latest stable version of chromium is 108.
$ npm install -g @axe-core/cli
$ axe http://example.com
Running axe-core 4.6.3 in chrome-headless
Error: SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 109
Current browser version is 108.0.5359.94 with binary path /usr/bin/chromium
at Object.throwDecodedError (/home/martin/.local/share/fnm/node-versions/v16.13.2/installation/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/lib/error.js:522:15)
at parseHttpResponse (/home/martin/.local/share/fnm/node-versions/v16.13.2/installation/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/lib/http.js:589:13)
at Executor.execute (/home/martin/.local/share/fnm/node-versions/v16.13.2/installation/lib/node_modules/@axe-core/cli/node_modules/selenium-webdriver/lib/http.js:514:28)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
remoteStacktrace: '#0 0x560eb88a3303 <unknown>\n' +
'#1 0x560eb8677d37 <unknown>\n' +
'#2 0x560eb86a4a54 <unknown>\n' +
'#3 0x560eb869f80e <unknown>\n' +
'#4 0x560eb869c330 <unknown>\n' +
'#5 0x560eb86dd4a6 <unknown>\n' +
'#6 0x560eb86d4753 <unknown>\n' +
'#7 0x560eb86a7a14 <unknown>\n' +
'#8 0x560eb86a8b7e <unknown>\n' +
'#9 0x560eb88f232e <unknown>\n' +
'#10 0x560eb88f5c0e <unknown>\n' +
'#11 0x560eb88d8610 <unknown>\n' +
'#12 0x560eb88f6c23 <unknown>\n' +
'#13 0x560eb88ca545 <unknown>\n' +
'#14 0x560eb89176a8 <unknown>\n' +
'#15 0x560eb8917836 <unknown>\n' +
'#16 0x560eb8932d13 <unknown>\n' +
'#17 0x7fbc73e9aea7 start_thread\n'
}
Please report the problem to: https://github.com/dequelabs/axe-core-npm/issues/
To be honest i am not sure how to get this working. @axe-core/puppeteer works fine since installing puppeteer also automatically downloads chromium into ~/.cache/puppeteer/chrome/. However the following doesn't work:
axe --chromedriver-path ~/.cache/puppeteer/chrome/linux-1095492/chrome-linux/chrome http://example.com/
it just opens chrome (not in headless mode for some reason) and doesn't open example.com (neither does it say "this chrome instance is remote controlled") ... probably because that chrome version is 111.0.5555.0, which isn't 109? How am I supposed to install Chrome 109?
Metadata
Metadata
Assignees
Labels
No labels