Module browser

Source
Expand description

The Browser domain defines methods and events for browser managing.

Structs§

AddPrivacySandboxEnrollmentOverrideParams
Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
AddPrivacySandboxEnrollmentOverrideParamsBuilder
AddPrivacySandboxEnrollmentOverrideReturns
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
BoundsBuilder
BrowserContextId
Bucket
Chrome histogram bucket. Bucket
BucketBuilder
CancelDownloadParams
Cancel a download if in progress cancelDownload
CancelDownloadParamsBuilder
CancelDownloadReturns
Cancel a download if in progress cancelDownload
CloseParams
Close browser gracefully. close
CloseReturns
Close browser gracefully. close
CrashGpuProcessParams
Crashes GPU process. crashGpuProcess
CrashGpuProcessReturns
Crashes GPU process. crashGpuProcess
CrashParams
Crashes browser on the main thread. crash
CrashReturns
Crashes browser on the main thread. crash
EventDownloadProgress
Fired when download makes progress. Last call has |done| == true. downloadProgress
EventDownloadWillBegin
Fired when page is about to start a download. downloadWillBegin
ExecuteBrowserCommandParams
Invoke custom browser commands used by telemetry. executeBrowserCommand
ExecuteBrowserCommandParamsBuilder
ExecuteBrowserCommandReturns
Invoke custom browser commands used by telemetry. executeBrowserCommand
GetBrowserCommandLineParams
Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
GetBrowserCommandLineReturns
Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
GetBrowserCommandLineReturnsBuilder
GetHistogramParams
Get a Chrome histogram by name. getHistogram
GetHistogramParamsBuilder
GetHistogramReturns
Get a Chrome histogram by name. getHistogram
GetHistogramReturnsBuilder
GetHistogramsParams
Get Chrome histograms. getHistograms
GetHistogramsParamsBuilder
GetHistogramsReturns
Get Chrome histograms. getHistograms
GetHistogramsReturnsBuilder
GetVersionParams
Returns version information. getVersion
GetVersionReturns
Returns version information. getVersion
GetVersionReturnsBuilder
GetWindowBoundsParams
Get position and size of the browser window. getWindowBounds
GetWindowBoundsParamsBuilder
GetWindowBoundsReturns
Get position and size of the browser window. getWindowBounds
GetWindowBoundsReturnsBuilder
GetWindowForTargetParams
Get the browser window that contains the devtools target. getWindowForTarget
GetWindowForTargetParamsBuilder
GetWindowForTargetReturns
Get the browser window that contains the devtools target. getWindowForTarget
GetWindowForTargetReturnsBuilder
GrantPermissionsParams
Grant specific permissions to the given origin and reject all others. grantPermissions
GrantPermissionsParamsBuilder
GrantPermissionsReturns
Grant specific permissions to the given origin and reject all others. grantPermissions
Histogram
Chrome histogram. Histogram
HistogramBuilder
PermissionDescriptor
Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dom-permissiondescriptor. PermissionDescriptor
PermissionDescriptorBuilder
ResetPermissionsParams
Reset all permission management for all origins. resetPermissions
ResetPermissionsParamsBuilder
ResetPermissionsReturns
Reset all permission management for all origins. resetPermissions
SetDockTileParams
Set dock tile details, platform-specific. setDockTile
SetDockTileParamsBuilder
SetDockTileReturns
Set dock tile details, platform-specific. setDockTile
SetDownloadBehaviorParams
Set the behavior when downloading a file. setDownloadBehavior
SetDownloadBehaviorParamsBuilder
SetDownloadBehaviorReturns
Set the behavior when downloading a file. setDownloadBehavior
SetPermissionParams
Set permission settings for given origin. setPermission
SetPermissionParamsBuilder
SetPermissionReturns
Set permission settings for given origin. setPermission
SetWindowBoundsParams
Set position and/or size of the browser window. setWindowBounds
SetWindowBoundsParamsBuilder
SetWindowBoundsReturns
Set position and/or size of the browser window. setWindowBounds
WindowId

Enums§

BrowserCommandId
Browser command ids used by executeBrowserCommand.
DownloadProgressState
Download status.
PermissionSetting
PermissionType
SetDownloadBehaviorBehavior
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.
WindowState
The state of the browser window.