Expand description
The Browser domain defines methods and events for browser managing.
Structs§
- Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
- Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
- Browser window bounds information Bounds
- Chrome histogram bucket. Bucket
- Cancel a download if in progress cancelDownload
- Cancel a download if in progress cancelDownload
- Close browser gracefully. close
- Close browser gracefully. close
- Crashes GPU process. crashGpuProcess
- Crashes GPU process. crashGpuProcess
- Crashes browser on the main thread. crash
- Crashes browser on the main thread. crash
- Fired when download makes progress. Last call has |done| == true. downloadProgress
- Fired when page is about to start a download. downloadWillBegin
- Invoke custom browser commands used by telemetry. executeBrowserCommand
- Invoke custom browser commands used by telemetry. executeBrowserCommand
- Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
- Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
- Get a Chrome histogram by name. getHistogram
- Get a Chrome histogram by name. getHistogram
- Get Chrome histograms. getHistograms
- Get Chrome histograms. getHistograms
- Returns version information. getVersion
- Returns version information. getVersion
- Get position and size of the browser window. getWindowBounds
- Get position and size of the browser window. getWindowBounds
- Get the browser window that contains the devtools target. getWindowForTarget
- Get the browser window that contains the devtools target. getWindowForTarget
- Grant specific permissions to the given origin and reject all others. grantPermissions
- Grant specific permissions to the given origin and reject all others. grantPermissions
- Chrome histogram. Histogram
- Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dom-permissiondescriptor. PermissionDescriptor
- Reset all permission management for all origins. resetPermissions
- Reset all permission management for all origins. resetPermissions
- Set dock tile details, platform-specific. setDockTile
- Set dock tile details, platform-specific. setDockTile
- Set the behavior when downloading a file. setDownloadBehavior
- Set the behavior when downloading a file. setDownloadBehavior
- Set permission settings for given origin. setPermission
- Set permission settings for given origin. setPermission
- Set position and/or size of the browser window. setWindowBounds
- Set position and/or size of the browser window. setWindowBounds
Enums§
- Browser command ids used by executeBrowserCommand.
- Download status.
- Whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny). |allowAndName| allows download and names files according to their download guids.
- The state of the browser window.