Testing Website Accessibility with Axe and WebdriverIO
Front-end Testing with Kevin
Today, we look at Axe (a website accessibility test tool) and how we can integrate it with WebdriverIO. I use it to test the WebdriverIO homepage, revealing a few accessibility errors which cause the test to fail.
Code from the episode: https://github.com/klamping/wdio-axe-example
The original WebdriverIO/Axe issue: https://github.com/webdriverio/webdriverio/issues/2303
Axe: https://github.com/dequelabs/axe-core
ExecuteAsync, the command that saved the day! http://webdriver.io/api/protocol/executeAsync.html
Me on Twitter https://twitter.com/klamping
Support the channel: https://learn.webdriver.io
Recorded on Oct 4th, 2017
WebdriverIO Wednesdays is a live stream going through various WebdriverIO concepts, mainly focused around real-world test scripts.
Live Wednesdays at https://twitch.tv/vinlam ... https://www.youtube.com/watch?v=6gwtqYCxNwQ
125202793 Bytes