Download the WebDriverIO Demo Project
Download and run a complete sample project for axe DevTools for Web with WebDriverIO and Mocha
This demo project familiarizes users with using axe DevTools for Web with WebDriverJS and Mocha and can generate reports without needing an existing web project to integrate with. For information on how to install axe DevTools for Web into an existing project, read the guide on installing from a bundle, from your own artifact repository, or from Deque's Agora.
Prerequisites
These projects require a NodeJS development environment including NPM or Yarn. They also require a downloaded and installed instance of WebDriverIO.
Link to Download Project Zip
Use
- Download the zipped project that matches your developing and testing environment
- Move the project to the desired location in your file system and unzip
- Using your command shell, navigate to the location of the project, then within the project to the src directory
- run the command
npm install
oryarn
to install the node modules - run
npm run test
oryarn test
to run the test scripts
Once the tests have finished running, the results are compiled into an HTML report by the axe DevTools for Web reporter. These reports allow you to easily consume the results of the accessibility scans.
If desired, you can configure the project to scan any web addressable page by changing the test case URLs with testfile and re-running the tests.
Configuration
Initially, one or more of the components within this project may be incompatible with your environment. If issues persist, contact your Deque representative directly, reach us via our support desk, or send us an email. We'll be happy to help.