session_act
Execute a single step—action or assertion—in an open browser session, returning the outcome and a screenshot for verification.
Instructions
Execute one step in an open session and return the step result plus a screenshot. A step is any action or assertion from the ticket schema, for example {"id": "s1", "action": "click", "target": {"role": {"role": "button", "name": "Save"}}} or {"id": "s2", "action": "expect_visible", "target": {"test_id": "toast"}}. Failed assertions do not end the session; they are marked in the video with a red frame. Call get_schema(kind="step") for all step types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| step | Yes | ||
| session_id | Yes | ||
| include_screenshot | No |