capture-element
Capture any webpage element by CSS selector—like headers, articles, or widgets—without rendering the entire page.
Instructions
Capture a specific element on a page by CSS selector. Useful for capturing headers, articles, widgets, or any identifiable DOM element without rendering the entire page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the page containing the element | |
| delay | No | Milliseconds to wait before capturing | |
| width | No | Viewport width in pixels | |
| format | No | Output image format | png |
| height | No | Viewport height in pixels | |
| quality | No | Image quality (1-100) | |
| timeout | No | Page load timeout in milliseconds | |
| selector | Yes | CSS selector of the element to capture (e.g. '.hero', '#main-content', 'article') | |
| block_ads | No | Block advertisements | |
| dark_mode | No | Force dark mode on the page | |
| block_trackers | No | Block tracking scripts | |
| block_cookie_banners | No | Block cookie consent banners |