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.

Changelog 1 min read

Written by

Dmytro Krasun

Published on

In order to include the shadow DOM contents when requesting the page content, you only need to specify the include_shadow_dom option in the request as true, like this:

https://api.screenshotone.com/take?include_shadow_dom=true&url...&access_key=...

The API will try to include all open and closed shadow DOM roots in the content. By default, they are not included.

In case you encounter any issues, or have any questions, please feel free to reach out to us at support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
Added a URL to Markdown Tool

Added a URL to Markdown Tool

A new free ScreenshotOne tool to convert any public webpage URL into Markdown.

Read more

1 min read

ScreenshotOne can now return screenshots and HTML in one request

ScreenshotOne can now return screenshots and HTML in one request

Starting from today ScreenshotOne can return both a website screenshot and the content in one simple API request.

Read more

1 min read

Support of the OpenAI GPT Vision API in ScreenshotOne

Support of the OpenAI GPT Vision API in ScreenshotOne

From today, you can use our screenshot API together with the OpenAI Vision API. It allows you to send screenshots directly to the Vision API without building all the infrastructure yourself.

Read more

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