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 terminalphantomjs axe-phantom.js http://www.deque.com results.json
to run aXe in PhantomJS against http://www.deque.com and save results toresults.json