Upload Results
Once the scan has finished it is automatically published to axe Developer Hub.
const axeSettings = {
apiKey: "<deque-api-key>",
projectId: "<devhub-project-id>"
}
const result = await driver.execute('mobile: axeScan', axeSettings)Note: You can disable posting scan results, 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.
const axeSettings = {
apiKey: "<deque-api-key>",
projectId: "<devhub-project-id>",
uploadToDashboard: false
}
const result = await driver.execute('mobile: axeScan', axeSettings)About axe Developer Hub
Axe Developer Hub is a central location where your whole team can view and manage accessibility issues found in your app.
From axe Developer Hub you are able to:
- Find results for accessibility scans
- Share a scan/group of scans
- Decide which results matter most and adapt your tests
Share Results with Your Team
View, manage, and share results from axe Developer Hub, where test runs will already be grouped by project ID. To create and share a direct link to your results in Developer Hub, you can follow this pattern - adding your own project ID:
https://axe.deque.com/axe-watcher/projects/<projectId>This takes you to a page where all recent runs for that projectId are listed.
What's Next?
At this point, you can navigate to the next screen in your app and take another scan.
