Choose the full page screenshot algorithm

Now, you can choose the full page screenshot algorithm.

Written by

Dmytro Krasun

Published on

ScreenshotOne API now allows you to choose the full page screenshot algorithm. It wasn’t available before, and most of the time the API was guessing the best algorithm automatically.

Use the full_page_algorithm option to choose the algorithm. The default value is default.

The default algorithm is the same as the one used in the Chrome DevTools Protocol, with some tuning and for some websites with different optimizations.

But if you set full_page_algorithm=by_sections, the API will take a screenshot section by section and then combine them into one image.

It allows more complex pages with animations to be rendered correctly.

The by_sections will scroll the website automatically regardless of the full_page_scroll option value.

If you have any questions or suggestions, feel free to contact us at support@screenshotone.com.

Read more product updates

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

View all posts

Include shadow DOM when requesting the page content

A new version of the ScreenshotOne API has been just deployed. It allows you to include the shadow DOM contents when requesting the page content.

Read more

Set locale and language of the browser

A new version of the ScreenshotOne API has been just deployed. It allows you to set both locale and language of the browser when rendering screenshots with one simple option.

Read more

Fail rendering if the content contains a string

There is a set of use cases when you want to fail screenshot rendering and retry it if the content of the page contains a string.

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.