Download the WebDriverIO Demo Project
Download and run a complete sample project for axe DevTools HTML with WebDriverIO and Mocha
This demo project familiarizes users with using axe DevTools HTML 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 HTML into an existing project, read the guide on installing from a bundle, from your own artifact repository, or from Deque's Agora.
These projects require a NodeJS development environment including NPM or Yarn. They also require a downloaded and installed instance of WebDriverIO.
- 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
yarnto install the node modules
npm run testor
yarn testto run the test scripts
Once the tests have finished running, the results are compiled into an HTML report by the axe DevTools HTML 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.
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.