How to set up aXe with vanilla WebdriverJS for automated accessibility testing.
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
spec
.gitignore
README.md
package-lock.json
package.json

README.md

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