Screenshot Examples · Example 2 of 3 in What to Capture

A capture after scrolling to the page footer (scroll_to_element=footer): the viewport shows the bottom of the page.

Value
footer

Asks for a capture after scrolling to the first element that matches the CSS selector footer (scroll_to_element=footer).

The browser scrolls until that element is in view, then captures the viewport, so the image shows the footer of https://www.deepinfo.com instead of its top. Unlike selector, the image keeps the full viewport size. The response looks like the default one; the difference is in the image.

Request

What this example sends. Every parameter is documented on Screenshot; the exact request is in the code panel.

ParameterValue
urlqueryhttps://www.deepinfo.com
scroll_to_elementqueryfooter

Reference updated