axe-webdriverjs-demo
axe-webdriverjs-demo copied to clipboard
How to set up aXe with vanilla WebdriverJS for automated accessibility testing.
axe-webdriverjs demo
How to set up aXe with Selenium WebdriverJS and Jasmine for automated testing.
Requirements
- Node.js
- npm
- Chrome browser
Installation
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
Demo Project
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/
Usage: Run tests
npm test