puppeteer/new-docs/puppeteer.browsercontext.md
Jack Franklin ace31d6f58
chore: pin TSDoc related dependencies (#6063)
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.
2020-06-22 09:16:51 +01:00

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)