Expand description
The Browser domain defines methods and events for browser managing.
Structs§
- AddPrivacy
Sandbox Enrollment Override Params - Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
- AddPrivacy
Sandbox Enrollment Override Params Builder - AddPrivacy
Sandbox Enrollment Override Returns - Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
- Bounds
- Browser window bounds information Bounds
- Bounds
Builder - Browser
Context Id - Bucket
- Chrome histogram bucket. Bucket
- Bucket
Builder - Cancel
Download Params - Cancel a download if in progress cancelDownload
- Cancel
Download Params Builder - Cancel
Download Returns - Cancel a download if in progress cancelDownload
- Close
Params - Close browser gracefully. close
- Close
Returns - Close browser gracefully. close
- Crash
GpuProcess Params - Crashes GPU process. crashGpuProcess
- Crash
GpuProcess Returns - Crashes GPU process. crashGpuProcess
- Crash
Params - Crashes browser on the main thread. crash
- Crash
Returns - Crashes browser on the main thread. crash
- Event
Download Progress - Fired when download makes progress. Last call has |done| == true. downloadProgress
- Event
Download Will Begin - Fired when page is about to start a download. downloadWillBegin
- Execute
Browser Command Params - Invoke custom browser commands used by telemetry. executeBrowserCommand
- Execute
Browser Command Params Builder - Execute
Browser Command Returns - Invoke custom browser commands used by telemetry. executeBrowserCommand
- GetBrowser
Command Line Params - Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
- GetBrowser
Command Line Returns - Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
- GetBrowser
Command Line Returns Builder - GetHistogram
Params - Get a Chrome histogram by name. getHistogram
- GetHistogram
Params Builder - GetHistogram
Returns - Get a Chrome histogram by name. getHistogram
- GetHistogram
Returns Builder - GetHistograms
Params - Get Chrome histograms. getHistograms
- GetHistograms
Params Builder - GetHistograms
Returns - Get Chrome histograms. getHistograms
- GetHistograms
Returns Builder - GetVersion
Params - Returns version information. getVersion
- GetVersion
Returns - Returns version information. getVersion
- GetVersion
Returns Builder - GetWindow
Bounds Params - Get position and size of the browser window. getWindowBounds
- GetWindow
Bounds Params Builder - GetWindow
Bounds Returns - Get position and size of the browser window. getWindowBounds
- GetWindow
Bounds Returns Builder - GetWindow
ForTarget Params - Get the browser window that contains the devtools target. getWindowForTarget
- GetWindow
ForTarget Params Builder - GetWindow
ForTarget Returns - Get the browser window that contains the devtools target. getWindowForTarget
- GetWindow
ForTarget Returns Builder - Grant
Permissions Params - Grant specific permissions to the given origin and reject all others. grantPermissions
- Grant
Permissions Params Builder - Grant
Permissions Returns - Grant specific permissions to the given origin and reject all others. grantPermissions
- Histogram
- Chrome histogram. Histogram
- Histogram
Builder - Permission
Descriptor - Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dom-permissiondescriptor. PermissionDescriptor
- Permission
Descriptor Builder - Reset
Permissions Params - Reset all permission management for all origins. resetPermissions
- Reset
Permissions Params Builder - Reset
Permissions Returns - Reset all permission management for all origins. resetPermissions
- SetDock
Tile Params - Set dock tile details, platform-specific. setDockTile
- SetDock
Tile Params Builder - SetDock
Tile Returns - Set dock tile details, platform-specific. setDockTile
- SetDownload
Behavior Params - Set the behavior when downloading a file. setDownloadBehavior
- SetDownload
Behavior Params Builder - SetDownload
Behavior Returns - Set the behavior when downloading a file. setDownloadBehavior
- SetPermission
Params - Set permission settings for given origin. setPermission
- SetPermission
Params Builder - SetPermission
Returns - Set permission settings for given origin. setPermission
- SetWindow
Bounds Params - Set position and/or size of the browser window. setWindowBounds
- SetWindow
Bounds Params Builder - SetWindow
Bounds Returns - Set position and/or size of the browser window. setWindowBounds
- Window
Id
Enums§
- Browser
Command Id - Browser command ids used by executeBrowserCommand.
- Download
Progress State - Download status.
- Permission
Setting - Permission
Type - SetDownload
Behavior Behavior - 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.
- Window
State - The state of the browser window.