Control scrolling into view when taking screenshots by selector

You can now control scrolling into view when taking screenshots by selector. It allows render more accurate screenshots.

Written by

Dmytro Krasun

Published on

Before this update, when you took a screenshot of an element by selector, the page was scrolled into view and it caused some issues, e.g. sticky elements were overlapping the target element on the screenshot.

Now, you can control if you want to scroll the page into view or not with the selector_scroll_into_view option.

The option is set to true by default. But now you can set it to false to avoid scrolling the page into view.

Read more product updates

Interviews, tips, guides, industry best practices, and news.

View all posts
Use cases in the ScreenshotOne playground

Use cases in the ScreenshotOne playground

Having documentation and code examples is great, but not enough to allow developers to quickly integrate the API and assess all available features of the ScreenshotOne API.

Read more

Automate website screenshots

Exhaustive documentation, ready SDKs, no-code tools, and other automation to help you render website screenshots and outsource all the boring work related to that to us.