browser_screenshot
Capture a full web page or a specific element as an image. Target by element reference, visible text, or CSS selector to get the screenshot returned and saved to disk.
Instructions
Screenshot of the page (or one element). The image is returned so you can see it, and saved to disk.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Element ref from browser_snapshot, e.g. "e12" | |
| text | No | Visible text to match (alternative to ref) | |
| fullPage | No | ||
| selector | No | CSS or Playwright selector (alternative to ref) |