Use a new option to fail ScreenshotOne API requests on purpose.
Fail ScreenshotOne API requests on purpose
Use a new option to fail ScreenshotOne API requests on purpose.
Use fail_if_request_failed
option to fail the API request if any matched request failed:
https://api.screenshotone.com/take?fail_if_request_failed=*images.example.com*&url=https://example.com/&access_key=<access key>
In the example above, the API request will fail if the request to *images.example.com*
fails or any other request that matches the pattern.
It is useful if you in specific cases you want to ensure that all resources are loaded. Also, notice that failed requests are not counted towards your rendering quota.
As always, if you have any questions, please, reach out at support@screenshotone.com
.
Interviews, tips, guides, industry best practices, and news.
ScreenshotOne now supports documentation format specifically targeted for LLMs—llms.txt and llms-full.txt.
You can now control scrolling into view when taking screenshots by selector. It allows render more accurate screenshots.
It is a long-term move and rebuilding the ScreenshotOne dashboard was a decision to continue improving customer experience. The previous version of the dashboard was outdated and didn't serve new arising customer needs well.
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.