mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
ace31d6f58
Without the API-* dependencies pinned different versions may be installed on local machines vs CI. One of the checks we do is to check that the checked in docs matches what is generated on CI. Therefore we need to ensure devs locally run the exact version that CI runs such that they generate the same output. So in this case we pin to a particular version of the dependencies.
1.7 KiB
1.7 KiB
Home > puppeteer > BrowserContext
BrowserContext class
Signature:
export declare class BrowserContext extends EventEmitter
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) |