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