interact_and_test
Execute multi-step web workflows using actions like click, fill, and navigate. Supports sessions, screenshots, and post-run checks for comprehensive testing.
Instructions
Execute a multi-step interaction workflow. Supports 25 actions: click, force_click, fill, force_fill, type, select, select_option, wait, wait_for, wait_for_text, screenshot, navigate, hover, press_key, check, uncheck, scroll_to, scroll_within, evaluate_js, drag, right_click, go_back, go_forward, upload_file, wait_for_network. Can work on an existing session or create an ephemeral page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to open (creates ephemeral page if no session_id) | |
| steps | Yes | Steps to execute. Each step has 'action' and action-specific fields. | |
| project | No | Project name (optional). With a project: runs in its shared, authenticated context. Without: runs in an isolated context (no shared cookies/login). | |
| run_checks | No | Checks to run after steps complete (visual, accessibility, functionality, seo, performance, geo) | |
| session_id | No | Existing session ID (alternative to url) | |
| capture_console | No | Capture console output/errors emitted during the steps and include them in the result (default: false) | |
| screenshot_after | No | Take a screenshot after all steps complete (default: true) | |
| continue_on_error | No | Continue executing steps even if one fails (default: false) |