mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
41 lines
1.7 KiB
Markdown
41 lines
1.7 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [BrowserContext](./puppeteer.browsercontext.md)
|
||
|
|
||
|
## BrowserContext class
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export declare class BrowserContext extends EventEmitter
|
||
|
```
|
||
|
|
||
|
## Constructors
|
||
|
|
||
|
| Constructor | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [(constructor)(connection, browser, contextId)](./puppeteer.browsercontext._constructor_.md) | | Constructs a new instance of the <code>BrowserContext</code> class |
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Modifiers | Type | Description |
|
||
|
| --- | --- | --- | --- |
|
||
|
| [\_browser](./puppeteer.browsercontext._browser.md) | | [Browser](./puppeteer.browser.md) | |
|
||
|
| [\_connection](./puppeteer.browsercontext._connection.md) | | [Connection](./puppeteer.connection.md) | |
|
||
|
| [\_id](./puppeteer.browsercontext._id.md) | | string | |
|
||
|
|
||
|
## Methods
|
||
|
|
||
|
| Method | Modifiers | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [browser()](./puppeteer.browsercontext.browser.md) | | |
|
||
|
| [clearPermissionOverrides()](./puppeteer.browsercontext.clearpermissionoverrides.md) | | |
|
||
|
| [close()](./puppeteer.browsercontext.close.md) | | |
|
||
|
| [isIncognito()](./puppeteer.browsercontext.isincognito.md) | | |
|
||
|
| [newPage()](./puppeteer.browsercontext.newpage.md) | | |
|
||
|
| [overridePermissions(origin, permissions)](./puppeteer.browsercontext.overridepermissions.md) | | |
|
||
|
| [pages()](./puppeteer.browsercontext.pages.md) | | |
|
||
|
| [targets()](./puppeteer.browsercontext.targets.md) | | |
|
||
|
| [waitForTarget(predicate, options)](./puppeteer.browsercontext.waitfortarget.md) | | |
|
||
|
|