Fewer internal errors when pages change during rendering

Selectors, clicks, and hovers now cope with pages that replace their elements, and scripts that load another page get a clear script_triggers_redirect error instead of an internal error.

Changelog1 min read

Written by

Dmytro Krasun

Published on

Some pages change while we render them. A consent banner reloads the page, a single-page app re-renders a section, or a script you pass in the request clicks a link. Requests on these pages could fail with the internal_application_error error, even though nothing was wrong with the request. They now get a clearer result.

Selectors, clicks, and hovers

Scripts that load another page

If a script in the scripts option loads another page, for example, it clicks a link, submits a form, or goes back in history, you now get the script_triggers_redirect error. Before, these requests failed with an internal error or returned a screenshot of a page that was still loading.

To take a screenshot of the new page, add scripts_wait_until, for example, scripts_wait_until=load.

You don’t need it for changes within the page, like history.pushState() or a new hash. You also don’t need it for downloads and empty (204) responses that arrive within 2 seconds, since the browser doesn’t load another page.

Timeouts in request logs

Some requests that timed out showed internal_application_error in your request logs, although the API returned timeout_error. The logs now show timeout_error too.

As before, failed requests don’t count toward your quota. If you see an error you don’t expect, please contact support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
Screenshot hard limits by plan

Screenshot hard limits by plan

Set your monthly screenshot limit directly in Billing, with maximums based on your plan.

Read more

1 min read

Added a "copy page" button in documentation

Added a "copy page" button in documentation

You can now copy the page content as Markdown for LLMs and more.

Read more

1 min read

An improved screenshot history page

An improved screenshot history page

Daily, I work as hard as I can to ensure that ScreeenshotOne is the best screenshot API out there possible. But I rarely share updates but trust me, a ton of them might go unnoticed. Let's fix this situation.

Read more

1 min read

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.