Java API Documentation

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

This section contains API references for:

Each of the following provides an overview of the respective integration's APIs.

Configuring axe-core Version

By default, your axe-core version is the same version as your axe DevTools package. Optionally, you can import and use an older axe-core version. In order to do this, you will need your axe-core version of choice downloaded in your development environment.

In addition, axe DevTools expects your ruleset to be located at src/test/resources/config/axe-ruleset.json. Alternatively, you can specify the location via the environment variable AXE_RULESET_PATH, or through configuration.

This example provides axe DevTools with a different version of axe-core through configuration options:

AxeConfiguration.configure()
    .forAuditSuite(getClass().getResource("/config/axe-ruleset.json"))
    .withAxeScript(getClass().getResource("/axe.min.js"));