Capture Real UI Screenshots
capture_ui_screenshotsCapture mobile and desktop localhost screenshots with Playwright, using stable reduced motion, isolated contexts, blocked outbound network, and console error inventory.
Instructions
Use Playwright installed in the target project to capture mobile and desktop localhost screenshots with stable reduced motion, isolated contexts, blocked outbound network, and console error inventory. Does not install browsers automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTP localhost URL with dev-server port 1024 or higher. | |
| outDir | No | Screenshot folder, default <projectRoot>/.awsm/visual. | |
| fullPage | No | Full-scroll page capture; disabled by default for deterministic screenshot sizes. | |
| overwrite | No | Replace existing screenshots; default false. | |
| timeoutMs | No | ||
| viewports | No | Defaults: 375x812 mobile, 1440x900 desktop. | |
| projectRoot | No | Project root containing its own Playwright install. |