Screenshot Examples · Example 3 of 8 in Viewport and Device
Custom Viewport Size
A 1920 × 1080 screenshot (width, height): the page as a Full HD desktop browser shows it.
Asks for a 1920 × 1080 viewport (width=1920&height=1080).
width and height set the browser window, from 100 to 3000 pixels each; the page lays itself out for that size. The response links to the image in screenshot_url.
Request
What this example sends. Every parameter is documented on Screenshot; the exact request is in the code panel.
| Parameter | Value |
|---|---|
urlquery | https://www.deepinfo.com |
widthquery | 1920 |
heightquery | 1080 |