captureBeyondViewport? | boolean | Capture the screenshot beyond the viewport. Default: False if there is no clip. True otherwise |
clip? | ScreenshotClip | Specifies the region of the page/element to clip |
fromSurface? | boolean | Capture the screenshot from the surface, rather than the view. Default: True |
fullPage? | boolean | When True, takes a screenshot of the full page. Default: False |
omitBackground? | boolean | Hides default white background and allows capturing screenshots with transparency. Default: False |
optimizeForSpeed? | boolean | Optimize image encoding for speed, not for resulting size. Default: False |
path? | string | - |
quality? | number | Quality of the image, between 0-100. Not applicable to png images. |
selector? | string | The CSS selector of the element on the page you want to screenshot |
timeout? | number | The maximum amount of time, in milliseconds, to wait for the screenshot to be taken. Default timeout is 30 seconds, or 30000. |
type? | ScreenshotType | The final format of the screenshot |
waitForImages? | boolean | When true, waits for all images on the page to load before taking the screenshot. Default: False |