Capture built page
capture_buildCaptures a live page's visual specs, piercing shadow DOM and same-origin iframes, for comparison with a Figma frame. Uses the user's browser session without storing credentials.
Instructions
Measure the live page in the user's own browser session, piercing shadow DOM and same-origin iframes. Reuses a running Chrome over CDP, else a copy of the Chrome profile. Never asks for or stores credentials. Viewport width defaults to the Figma frame width from the same run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the built page. | |
| runId | Yes | The runId returned by capture_design. | |
| viewportWidth | No |