This is the default operation mode of the API. You can control the width of captured viewport using
height parameter sets the viewport height and might change how sites behave.
For example, if you wish to capture with an iPhone 6 viewport size, the
width parameter should be set
375 and width
667. While using mobile viewports, don’t forget to also provide a user agent header.
The engine will figure out the complete height of the page and return the entire screen capture.
height parameter itself does not restrict the final image size. If the page height is larger than 16.000 pixels, the render will be restricted to the first 16.000 pixels.
Note that using
png format with large pages may yield huge files and degrade rendering performance. We suggest using
jpg files in case you are expecting renders to be big.