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