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
Detect any website fonts with a ScreenshotOne API

Detect any website fonts with a ScreenshotOne API

Now you can detect fonts used by any website with ScreenshotOne API in just one simple API call.

Read more

1 min read

I migrated to Google Cloud

I migrated to Google Cloud

Google Cloud gives $300 in credits for 3 months for experimenting. And I decided to give it a try, but not because of the free credits.

Read more

4 min read

Better authentication for ScreenshotOne dashboard

Better authentication for ScreenshotOne dashboard

Email and password authentication, email change flow, email verification, GitHub authentication, and improved UX/UI.

Read more

6 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.