axe-puppeteer-example
This (very minimal) example demonstrates how to use axe-core
with Puppeteer.
The example does not have feature parity with axe-webdriverjs
, and does not run on <iframe>
s.
To run the example
- Ensure Node v8+ is installed and on
PATH
- Move to the
doc/examples/puppeteer
directory - Run
npm install
- Run
node axe-puppeteer.js http://www.deque.com
to runaxe-core
via Puppeteer against http://www.deque.com and output results to the terminal