Audit Real Browser UI
audit_ui_pageAudit localhost web UI pages with Playwright to detect overflow, offscreen elements, broken images, unlabeled controls, placeholder links, small buttons, and console errors across viewports.
Instructions
Read-only audit of localhost web UI using project Playwright: detects page overflow, offscreen elements, broken images, unlabeled controls, placeholder links, small buttons, and console errors at multiple viewports. No form actions or remote browsing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "audit_ui_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Local HTTP page with explicit port 1024+. | |
| overwrite | No | Overwrite existing audit report when true. | |
| timeoutMs | No | ||
| viewports | No | Default mobile 375x812 and desktop 1440x900. | |
| reportPath | No | Optional JSON report destination; not overwritten by default. | |
| projectRoot | No | Project root containing Playwright installation. |