browser_click_audit
Validate click interactions by capturing before/after screenshots, computing visual diff, and collecting console, network, and silent errors in a single call.
Instructions
Audit a single click: screenshot before→click→wait→screenshot after→image diff→error collection→return. One call replaces 6+ individual tool calls for click-through validation loops. Returns navigation status, visual diff ratio, console/network errors, silentFail errors (HTTP 2xx with error body), and screenshot paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content of the element to find and click (alternative to 'selector', uses accessibility tree) | |
| label | No | Human-readable label for this audit step (used in screenshot filenames) | |
| waitMs | No | Wait time after click in milliseconds before capturing results | |
| selector | No | CSS selector of the element to click (required unless 'text' is provided) | |
| autoReturn | No | Automatically navigate back after audit (goBack for URL nav, re-click for SPA toggle) |