Skip to content

cross_platform_verify

Compare UI elements across iOS and Android. Reads cached accessibility snapshots from both platforms (populated by device_snapshot) and checks which elements are present on each. Workflow: test on iOS → device_snapshot → switch to Android → device_snapshot → cross_platform_verify. Supports auto-discovery of testIDs from source via scanDir. Returns a per-element comparison table with PASS/FAIL verdict.

NameTypeRequiredDefaultConstraintsDescription
elementsunknownNo
scanDirunknownNo
matchByunknownNo'any'
cross_platform_verify()