Skip to main content
Screenshot the viewport, the full page, or one element.
The tool names stay the same across browsers. See browser selection and Firefox and Zen exceptions before choosing an operation.

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