• English
  • CategoryRepresentative methodsDescription
    Auto-planningaiActDescribe a goal in natural language and let the Agent plan and execute multiple steps.
    Direct interactionaiTap, aiInputLocate a UI element by description and perform a single specified action without multi-step planning.
    Data extractionaiQuery, aiString, aiNumber, aiBooleanExtract structured or primitive data from the current UI for further processing in code.
    AssertionsaiAssertVerify that the current UI meets an expectation; throws an error if it does not.
    WaitingaiWaitForWait until the UI meets a specified condition; throws an error on timeout.

    In practice, you typically perform actions with aiAct or direct interaction methods and then verify the outcome with aiAssert—completing an action does not guarantee that the expected UI state was reached. For full parameter and return value details, see the Agent API reference.