puppeteer/new-docs/puppeteer.browsercontext._constructor_.md

23 lines
692 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [BrowserContext](./puppeteer.browsercontext.md) &gt; [(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 | |