screenshot
Capture the visible viewport as a PNG image. Crop to a region with coordinates and save the file to disk.
Instructions
Screenshot the visible viewport as PNG. region [x0,y0,x1,y1] crops (zoom). savePath also writes the file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | Yes | Tab id from tabs_context | |
| region | No | ||
| savePath | No |