Optimize Performance

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

Once you have integrated axe DevTools Mobile in your CI/CD pipeline, you can take the following steps to optimize performance during testing:

  • Turn off the screen orientation rule - this rule simulates rotating the device and may take up to three seconds. To optimize performance, consider only running it once rather than on every screen, or ignoring this rule altogether. Learn how you can ignore rules when you customize your configuration.

  • Accessibility scan results are published to the axe DevTools Mobile Dashboard by default. You can disable posting scan results to the dashboard, to reduce the number of network requests and improve scan speed. The default value of uploadToDashboard is true. Set this value to false to disable the upload. See the JavaScript example below.

    const axeSettings = {
        apiKey: "<your-api-key-here>",
        uploadToDashboard: false
    }
    
    const result = await driver.execute('mobile: axeScan', axeSettings)