mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
24 lines
747 B
Markdown
24 lines
747 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Frame](./puppeteer.frame.md) > [(constructor)](./puppeteer.frame._constructor_.md)
|
||
|
|
||
|
## Frame.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `Frame` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(frameManager: FrameManager, client: CDPSession, parentFrame: Frame | null, frameId: string);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| frameManager | [FrameManager](./puppeteer.framemanager.md) | |
|
||
|
| client | [CDPSession](./puppeteer.cdpsession.md) | |
|
||
|
| parentFrame | [Frame](./puppeteer.frame.md) \| null | |
|
||
|
| frameId | string | |
|
||
|
|