23 lines
692 B
Markdown
23 lines
692 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [BrowserContext](./puppeteer.browsercontext.md) > [(constructor)](./puppeteer.browsercontext._constructor_.md)
|
||
|
|
||
|
## BrowserContext.(constructor)
|
||
|
|
||
|
Constructs a new instance of the `BrowserContext` class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
constructor(connection: Connection, browser: Browser, contextId?: string);
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| connection | [Connection](./puppeteer.connection.md) | |
|
||
|
| browser | [Browser](./puppeteer.browser.md) | |
|
||
|
| contextId | string | |
|
||
|
|