diff --git a/docs/api/index.md b/docs/api/index.md index aab590d9573af..8a4e32d92b336 100644 --- a/docs/api/index.md +++ b/docs/api/index.md @@ -21,9 +21,9 @@ sidebar_label: API | [Dialog](./puppeteer.dialog.md) | Dialog instances are dispatched by the [Page](./puppeteer.page.md) via the dialog event. | | [ElementHandle](./puppeteer.elementhandle.md) | ElementHandle represents an in-page DOM element. | | [EventEmitter](./puppeteer.eventemitter.md) | The EventEmitter class that many Puppeteer classes extend. | -| [ExecutionContext](./puppeteer.executioncontext.md) | Represents a context for JavaScript execution. | +| [ExecutionContext](./puppeteer.executioncontext.md) | | | [FileChooser](./puppeteer.filechooser.md) | File choosers let you react to the page requesting for a file. | -| [Frame](./puppeteer.frame.md) | At every point of time, page exposes its current frame tree via the [page.mainFrame](./puppeteer.page.mainframe.md) and [frame.childFrames](./puppeteer.frame.childframes.md) methods. | +| [Frame](./puppeteer.frame.md) |

Represents a DOM frame.

To understand frames, you can think of frames as <iframe> elements. Just like iframes, frames can be nested, and when JavaScript is executed in a frame, the JavaScript does not effect frames inside the ambient frame the JavaScript executes in.

| | [HTTPRequest](./puppeteer.httprequest.md) | Represents an HTTP request sent by a page. | | [HTTPResponse](./puppeteer.httpresponse.md) | The HTTPResponse class represents responses which are received by the [Page](./puppeteer.page.md) class. | | [JSCoverage](./puppeteer.jscoverage.md) | | diff --git a/docs/api/puppeteer.executioncontext.md b/docs/api/puppeteer.executioncontext.md index 551673050f184..d59ee4c1156a5 100644 --- a/docs/api/puppeteer.executioncontext.md +++ b/docs/api/puppeteer.executioncontext.md @@ -4,7 +4,11 @@ sidebar_label: ExecutionContext # ExecutionContext class -Represents a context for JavaScript execution. +> Warning: This API is now obsolete. +> +> Do not use directly. +> +> Represents a context for JavaScript execution. **Signature:** diff --git a/docs/api/puppeteer.frame.evaluate.md b/docs/api/puppeteer.frame.evaluate.md index 400f752f67773..9804c36a00225 100644 --- a/docs/api/puppeteer.frame.evaluate.md +++ b/docs/api/puppeteer.frame.evaluate.md @@ -22,10 +22,10 @@ class Frame { ## Parameters -| Parameter | Type | Description | -| ------------ | -------------- | ------------------------------------------ | -| pageFunction | Func \| string | a function that is run within the frame | -| args | Params | arguments to be passed to the pageFunction | +| Parameter | Type | Description | +| ------------ | -------------- | ----------- | +| pageFunction | Func \| string | | +| args | Params | | **Returns:** diff --git a/docs/api/puppeteer.frame.evaluatehandle.md b/docs/api/puppeteer.frame.evaluatehandle.md index b9ea0d8294e67..0532cf177a9b8 100644 --- a/docs/api/puppeteer.frame.evaluatehandle.md +++ b/docs/api/puppeteer.frame.evaluatehandle.md @@ -22,10 +22,10 @@ class Frame { ## Parameters -| Parameter | Type | Description | -| ------------ | -------------- | ------------------------------------------ | -| pageFunction | Func \| string | a function that is run within the frame | -| args | Params | arguments to be passed to the pageFunction | +| Parameter | Type | Description | +| ------------ | -------------- | ----------- | +| pageFunction | Func \| string | | +| args | Params | | **Returns:** diff --git a/docs/api/puppeteer.frame.executioncontext.md b/docs/api/puppeteer.frame.executioncontext.md index cb6c95555bb51..9a364c79a5669 100644 --- a/docs/api/puppeteer.frame.executioncontext.md +++ b/docs/api/puppeteer.frame.executioncontext.md @@ -4,6 +4,10 @@ sidebar_label: Frame.executionContext # Frame.executionContext() method +> Warning: This API is now obsolete. +> +> Do not use the execution context directly. + **Signature:** ```typescript diff --git a/docs/api/puppeteer.frame.isoopframe.md b/docs/api/puppeteer.frame.isoopframe.md index 323e2c10a7fba..c818d8a2f6b15 100644 --- a/docs/api/puppeteer.frame.isoopframe.md +++ b/docs/api/puppeteer.frame.isoopframe.md @@ -16,4 +16,4 @@ class Frame { boolean -`true` if the frame is an OOP frame, or `false` otherwise. +`true` if the frame is an out-of-process (OOP) frame. Otherwise, `false`. diff --git a/docs/api/puppeteer.frame.md b/docs/api/puppeteer.frame.md index c8732d22e1db1..a0c6ad27f1c1b 100644 --- a/docs/api/puppeteer.frame.md +++ b/docs/api/puppeteer.frame.md @@ -4,7 +4,9 @@ sidebar_label: Frame # Frame class -At every point of time, page exposes its current frame tree via the [page.mainFrame](./puppeteer.page.mainframe.md) and [frame.childFrames](./puppeteer.frame.childframes.md) methods. +Represents a DOM frame. + +To understand frames, you can think of frames as `