Screenshot Examples · Example 2 of 6 in Page Loading
A Timeout Too Short for the Page
A capture with a 100 ms timeout (timeout=100): too short to load the page, so connection_status is timeout and there is no image.
Asks for a capture that gives up after 100 milliseconds (timeout=100).
timeout is the longest time to wait for the page to load, from 0 to 90,000 ms (default 30,000). 100 ms is not enough to load www.deepinfo.com, so the capture stops: connection_status is timeout, redirected_url and screenshot_url are null. The request itself still returns HTTP 200. A lower timeout makes a lookup of an unreachable or very slow page fail sooner.
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 |
timeoutquery | 100 |