Skip to main content
Screenshot the viewport, the full page, or one element.

Parameters

integer
Target tab id from browser_tabs, which lists tabs across all windows. Defaults to the agent’s most recently opened usable tab, or the only usable tab. Otherwise select a listed tabId.
boolean
 
string
Element ref from browser_snapshot, e.g. “e12”
enum
One of: png, jpeg.
integer
Range: 1 to 100.

Example

Full page as JPEG
One element