Atualizar Nome da Varredura

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

As varreduras enviadas para o painel a partir do Axe DevTools Mobile para Appium são nomeadas usando o nome ou título da tela quando disponível. Você pode definir o nome com base em outros critérios usando a chave scanName dentro do objeto de configurações. Consulte o exemplo em Javascript a seguir.

const axeSettings = {
  apiKey: '<DEQUE_APIKEY>'
}
const scanSettings = {
  scanName: '<YOUR_SCAN_NAME>'
  // scanName only labels uploads to Axe Developer Hub
  // it has no effect on local results
}
...
await driver.execute('mobile: axeStartSession', axeSettings)
// authentication settings are passed in once to `axeStartSession`
...
const result = await driver.execute(
      'mobile: axeScan',
      scanSettings
// deprecated features are not available on the session level and are still passed to `axeScan`
)
important

Os nomes das verificações rotulam apenas os envios para o Axe Developer Hub e não têm efeito nos resultados locais.