axe-core
Version:
Accessibility engine for automated Web UI testing
18 lines (12 loc) • 604 B
Markdown
This example demonstrates how to use axe with PhantomJS.
- PhantomJS must be installed; please follow the directions at http://phantomjs.org/
to install it.
- Run `npm install axe-core`
- Move to the `doc/examples/phantomjs` directory
- `phantomjs axe-phantom.js http://www.deque.com` to run axe in PhantomJS
against http://www.deque.com and output results to the terminal
- `phantomjs axe-phantom.js http://www.deque.com results.json` to run axe in PhantomJS
against http://www.deque.com and save results to `results.json`