Skip to main content

Minimal end-to-end (WebdriverIO + Mocha)

A complete spec. The SDK attaches to the WebdriverIO browser, the session starts on the first AI command, and the outcome is reported at the end.
test/specs/basic.spec.js

Native-first, AI fallback

Run native Appium code first for speed and determinism, and let the SDK fall back to AI only when a native block throws. This is the recommended pattern for real suites.
See Deterministic execution for the full pattern and a complete worked example.

Extract values, then assert on them

Pull data off the screen with extract, then verify it with assertBulk:

Handle non-native elements

The AI works visually, so it can drive WebViews and other elements that selectors struggle with:
See non-native elements for details.