mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
086c08998b
This adds the new docs that are generated by API Extractor via TSDoc. They are sparse because we do not yet use TSDoc in the codebase. This is the starting point and from here we can work through all the different classes and improve the documentation.
1.7 KiB
1.7 KiB
Home > puppeteer > BrowserContext
BrowserContext class
Signature:
export declare class BrowserContext extends EventEmitter
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(connection, browser, contextId) | Constructs a new instance of the BrowserContext class |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
_browser | Browser | ||
_connection | Connection | ||
_id | string |
Methods
Method | Modifiers | Description |
---|---|---|
browser() | ||
clearPermissionOverrides() | ||
close() | ||
isIncognito() | ||
newPage() | ||
overridePermissions(origin, permissions) | ||
pages() | ||
targets() | ||
waitForTarget(predicate, options) |