Update Scan Name

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

Scans uploaded to the Axe Developer Hub from Axe DevTools Mobile for Appium are named using the screen's name or title when available. You can set the name based on other criteria by using the scanName key within the settings object. Refer to the following Javascript example.

Note: Currently on iOS, a scan without a defined scanName gets an empty name instead of the screen title. We have a fix for this coming soon.

const axeSettings = {
  apiKey: '<DEQUE_APIKEY>',
  projectId: '<DEVHUB_PROJECT_ID>'
}
...
await driver.execute('mobile: axeStartSession', axeSettings)
// authentication settings are passed in once to `axeStartSession`
...
const result = await driver.execute(
      'mobile: axeScan',
      { scanName: '<YOUR_SCAN_NAME>' }
)