diff --git a/docs/src/api/class-frame.md b/docs/src/api/class-frame.md index 791640f1b86ca..05e7bf157f84f 100644 --- a/docs/src/api/class-frame.md +++ b/docs/src/api/class-frame.md @@ -299,6 +299,9 @@ When all steps combined have not finished during the specified [`option: timeout Gets the full HTML contents of the frame, including the doctype. +### option: Frame.content.includeShadow = %%-content-option-include-shadow-%% +* since: v1.64 + ## async method: Frame.dblclick * since: v1.8 * discouraged: Use locator-based [`method: Locator.dblclick`] instead. Read more about [locators](../locators.md). diff --git a/docs/src/api/class-page.md b/docs/src/api/class-page.md index 750f8efc87ba0..e73477edba32f 100644 --- a/docs/src/api/class-page.md +++ b/docs/src/api/class-page.md @@ -866,6 +866,9 @@ Defaults to `false`. Whether to run the Gets the full HTML contents of the page, including the doctype. +### option: Page.content.includeShadow = %%-content-option-include-shadow-%% +* since: v1.64 + ## method: Page.context * since: v1.8 - returns: <[BrowserContext]> diff --git a/docs/src/api/params.md b/docs/src/api/params.md index c107b8660ce2a..9e93bd8f697d3 100644 --- a/docs/src/api/params.md +++ b/docs/src/api/params.md @@ -7,6 +7,12 @@ When to consider operation succeeded, defaults to `load`. Events can be either: * `'networkidle'` - **DISCOURAGED** consider operation to be finished when there are no network connections for at least `500` ms. Don't use this method for testing, rely on web assertions to assess readiness instead. * `'commit'` - consider operation to be finished when network response is received and the document started loading. +## content-option-include-shadow +- `includeShadow` <[boolean]> + +When true, contents of open shadow roots are included as [declarative shadow DOM](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM#declaratively_with_html), +i.e. `