スキャン名の更新
Not for use with personal data
Axe DevTools Mobile for Appiumからダッシュボードにアップロードされたスキャンは、可能であれば画面の名前やタイトルを使用して名前が付けられます。設定オブジェクト内のscanNameキーを使用して、他の基準に基づいて名前を設定できます。次のJavascriptの例を参照してください。
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
スキャン名は、Axe Developer Hubへのアップロードのラベル付けにのみ使用され、ローカルの結果には影響を与えません。
