session_act
Run declared fill, click, press, select, goto, or wait actions in an open session's main frame to drive flows, then capture resulting URL, title, and observed navigations, requests, or errors.
Instructions
Perform a short DECLARED action list (fill/click/press/select/goto/wait, max 20) in an open session's main frame. Returns the page's resulting URL/title and observed: main-frame navigations, xhr/fetch requests (method, path, status — bodies and query strings never captured), console errors, dialogs (auto-dismissed) and popups (recorded, closed). These are the facts for waitForURL/waitForResponse. Derive action locators from a prior extraction (paste its playwright expression). Pass then_extract to get the diff (or a scoped extraction / outline) in the same call. If the actions leave the allowlisted hosts the session is closed and nothing further is extracted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actions | Yes | Declared actions (fill/click/press/select/goto/wait) executed in order in the MAIN frame after navigation. | |
| settle_ms | No | Wait after the last action before snapshotting (for toasts/animations). | |
| session_id | Yes | From session_open. | |
| then_extract | No | Also snapshot in this call — one round trip per step. Default mode 'diff' against the previous snapshot; supports scope/roles/visible_only/max_output_chars/include_tables. | |
| wait_selector_after | No | Selector to await (visible) AFTER the actions, before snapshotting — deterministic wait for late-rendering toasts/modals instead of guessing settle_ms. |