How to set up aXe with Selenium WebdriverJS and Jasmine for automated testing.
- Node.js
- npm
- Chrome browser
If you don't already have it, download Chrome driver and put it in a location on your system $PATH.
For more info on setup and testing other browsers, review the selenium-webriver documentation.
Install dependencies (including Jasmine):
npm install
The demo tests in spec/test.js require eBay's Accessibility Pattern examples to be running locally at http://localhost:4000. You can follow along with the project by cloning the repository and setting it up on your local machine: https://github.com/ianmcburnie/mindpatterns/
npm test