Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 690 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 690 Bytes

Karate and Axe for Accessibility Testing

It is possible to load any arbitrary JS library and execute it within a Karate UI test. One of the things that this opens up is the possibility to connect Axe and even run a custom report.

Example

Here is a simple example: axe.feature

How it works is very straightforward:

  • get the axe library JS / module from a CDN (this can also be from the file-system)
  • wait for the page to load and then execute the library
  • use a cusom HTML template to generate a report