Chrome DevTools

Browser Domain

The Browser domain defines methods and events for browser managing.

Methods

Methods

Chrome DevTools

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

Chrome DevTools

Browser.close #

Close browser gracefully.


Chrome DevTools

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.


Chrome DevTools

Browser.resetPermissions #

Reset all permission management for all origins.

Parameters

browserContextId
Optional
BrowserContextID

BrowserContext to reset permissions. When omitted, default browser context is used.