record_test_flow
Records a test flow by running a Browser-Use agent to accomplish a goal, capturing per-step actions and screenshots, then generating assertion steps via Gemini analysis for auditable QA.
Instructions
Record a test flow by running a Browser-Use agent to accomplish a goal.
Captures each action with selector, target_text, dom_fingerprint, per-step screenshots, and generates final assertion steps from a Gemini screenshot analysis.
Args: app_url: The website URL to test flow_name: Short name for this flow (used as identifier) goal: Plain-English description of what to accomplish profile_name: Optional auth profile name (from save_auth_profile) command: Optional natural language command for additional context business_criticality: "revenue" | "activation" | "retention" | "support" | "other"
Returns: dict with flow_id, flow_name, step_count, status, artifacts_dir
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | ||
| app_url | Yes | ||
| command | No | ||
| flow_name | Yes | ||
| profile_name | No | ||
| business_criticality | No | other |