url
string
The url of the website.
full_page
boolean
false
If true, a screenshot of the entire webpage will be taken.
clip_x*
boolean
false
clip_x, clip_y, clip_width, clip_height together define the boundary of an area of interest, a screenshot of this area of interest will be taken. * all four parameters must be present at the same time to take a partial screenshot.
width
int
1440
Browser width in pixels.
height
int
900
Browser height in pixels.
block_cookie_banner
boolean
true
If true, cookie banners will be dismissed before a screenshot is taken.
lazy_load
boolean
false
Some websites perform lazy loads of images and other contents, set lazy_load to true to ensure all content are loaded.
retina
boolean
false
If true, the screenshot will have the highest resolution.
output
string
json
Can be set to json or image. if set to image, raw image data of the screenshot will be returned.
delay
interger
0
Delay X milliseconds before taking the screenshot.