diff --git a/docs/api/puppeteer.elementhandle.frame.md b/docs/api/puppeteer.elementhandle.frame.md new file mode 100644 index 00000000000..7ed68d2ba28 --- /dev/null +++ b/docs/api/puppeteer.elementhandle.frame.md @@ -0,0 +1,13 @@ +--- +sidebar_label: ElementHandle.frame +--- + +# ElementHandle.frame property + +**Signature:** + +```typescript +class ElementHandle { + get frame(): Frame; +} +``` diff --git a/docs/api/puppeteer.elementhandle.md b/docs/api/puppeteer.elementhandle.md index 1255d134906..5df3ec39491 100644 --- a/docs/api/puppeteer.elementhandle.md +++ b/docs/api/puppeteer.elementhandle.md @@ -39,6 +39,12 @@ If you're using TypeScript, ElementHandle takes a generic argument that denotes The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `ElementHandle` class. +## Properties + +| Property | Modifiers | Type | Description | +| ------------------------------------------- | --------------------- | ----------------------------- | ----------- | +| [frame](./puppeteer.elementhandle.frame.md) | readonly | [Frame](./puppeteer.frame.md) | | + ## Methods | Method | Modifiers | Description | diff --git a/src/common/ElementHandle.ts b/src/common/ElementHandle.ts index ed80b69bd04..8cb19fa0428 100644 --- a/src/common/ElementHandle.ts +++ b/src/common/ElementHandle.ts @@ -88,9 +88,6 @@ export class ElementHandle< return this.#frame.page(); } - /** - * @internal - */ get frame(): Frame { return this.#frame; }