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.

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

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

View all posts

Get the HTTP response status code and headers with screenshots

On rare occasions, you might need to get the HTTP status code and headers of the target host. It is pretty easy to do now.

Read more

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

Choose the full page screenshot algorithm

Now, you can choose the full page screenshot algorithm.

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.