タグ結果
Not for use with personal data
important
Axe DevTools MobileダッシュボードからAxe Developer Hubへの移行の一環として、タグは非推奨となりました。テストでタグを使用している場合でも、これまで通り機能します。タグがセッションで最初に使用される際に、Appiumサーバーログに非推奨の警告が表示されます。タグは2026年10月のリリースで完全に削除されるため、設定パラメータとしてタグを削除し始めることをお勧めします。
タグ付けは、Axe DevTools Mobile ダッシュボード内でスキャンを整理、共有、検索するのに役立つ機能です。チームにとって有益なタグには、チーム名、ビルド番号、シミュレーターバージョンなどがあります。
タグ付きのスキャンは、組織内のすべての人にダッシュボードで表示されますが、タグがないスキャンは作成したユーザーにのみ表示されます。タグはローカルのみの結果には影響を与えません。
タグ付きスキャンを送信する
設定オブジェクトにキーtagsを追加し、追加したいタグの値を入力してください。以下のJavaScriptの例では、2つのタグ「v0.0.1」と「iOS 17.4」を使用してスキャンがダッシュボードにプッシュされます。注:タグはaxeSettingsにscanNameキーを使用しても、使用しなくても追加できます。
const axeSettings = {
apiKey: '<DEQUE_APIKEY>',
projectId: '<DEQUE_PROJECT_ID>'
}
const scanSettings = {
scanName: '<YOUR_SCAN_NAME>',
tags: ['v0.0.1', 'iOS 17.4']
// scanName and tags are deprecated. These values only label dashboard uploads, and have 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`
)