Browser Domain
The Browser domain defines methods and events for browser managing.
Methods
Events
Types
Methods
Browser.addPrivacySandboxEnrollmentOverride #
Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets.
parameters
- url
-
string
Browser.close #
Close browser gracefully.
Browser.getVersion #
Returns version information.
Return Object
- protocolVersion
-
string
Protocol version.
- product
-
string
Product name.
- revision
-
string
Product revision.
- userAgent
-
string
User-Agent.
- jsVersion
-
string
V8 version.
Browser.resetPermissions #
Reset all permission management for all origins.
parameters
- browserContextId
-
BrowserContextID
BrowserContext to reset permissions. When omitted, default browser context is used.