Skip to main content

audit

This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET

Run the platform's own accessibility audit on the screen in front. These call app_audit.

audit​

public Map<String, Object> audit()

Runs the platform's own accessibility audit on the screen in front: on iOS, Apple's, on a simulator or an iPhone (iOS 17 and later). Android throws: its audits run inside the app.

@return findings, each with its type, summary, detail, element, a locator when it has one, and bounds in device pixels when the audit names an element

Examples​

Run the platform's own accessibility audit on the screen in front​

Map<String, Object> found = device.audit();
System.out.println(found.get("findings"));