Capture a web page
capture_web_pageScreenshot a web page in a headless Chrome: the first screen, the full page, or one element. With a project the image is imported into it; without one it comes back in the result. With scroll it records the page scrolling instead, as a video clip for the project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to capture | |
| wait | No | Seconds to let the page settle after it loads | |
| scale | No | Device pixel ratio (default 2) | |
| theme | No | light (default) or dark pick the site’s own theme; force-dark also darkens a page with no dark theme; system follows the capturing browser | |
| width | No | Viewport width in CSS pixels (default 1440) | |
| height | No | Viewport height in CSS pixels (default 900) | |
| scroll | No | Record the page scrolling down from the top as a video clip (1920x1080, 30 fps) imported into the project, rather than a still. For a shot of the site being scrolled: sticky headers stay in view and the page’s own motion plays, where a full page is one tall still the edit has to pan over. The view is 1440x810 unless width and height say otherwise. Needs project; not with fullPage or selector. | |
| project | No | Import the image into this project | |
| fullPage | No | Capture the whole scrollable page | |
| selector | No | Capture only the first element matching this CSS selector | |
| fullMotion | No | Keep the page’s animations; by default it is asked for reduced motion so stills do not catch a transition | |
| scrollScreens | No | How far it scrolls, in heights of the view (default 3); a page that ends sooner stops at its end | |
| scrollSeconds | No | How long the scroll takes, in seconds (default 6) |