Skip to main content

Module commands

Module commands 

Source

Structs§

AddPrivacySandboxCoordinatorKeyConfig
Configures encryption keys used with a given privacy sandbox API to talk to a trusted coordinator. Since this is intended for test automation only, coordinatorOrigin must be a .test domain. No existing coordinator configuration for the origin may exist. addPrivacySandboxCoordinatorKeyConfig
AddPrivacySandboxCoordinatorKeyConfigParams
Configures encryption keys used with a given privacy sandbox API to talk to a trusted coordinator. Since this is intended for test automation only, coordinatorOrigin must be a .test domain. No existing coordinator configuration for the origin may exist. addPrivacySandboxCoordinatorKeyConfig
AddPrivacySandboxEnrollmentOverride
Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
AddPrivacySandboxEnrollmentOverrideParams
Allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled. Only supported on page targets. addPrivacySandboxEnrollmentOverride
CancelDownload
Cancel a download if in progress cancelDownload
CancelDownloadParams
Cancel a download if in progress cancelDownload
Close
Close browser gracefully. close
CloseParams
Close browser gracefully. close
Crash
Crashes browser on the main thread. crash
CrashGpuProcess
Crashes GPU process. crashGpuProcess
CrashGpuProcessParams
Crashes GPU process. crashGpuProcess
CrashParams
Crashes browser on the main thread. crash
ExecuteBrowserCommand
Invoke custom browser commands used by telemetry. executeBrowserCommand
ExecuteBrowserCommandParams
Invoke custom browser commands used by telemetry. executeBrowserCommand
GetBrowserCommandLine
Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
GetBrowserCommandLineParams
Returns the command line switches for the browser process if, and only if –enable-automation is on the commandline. getBrowserCommandLine
GetHistogram
Get a Chrome histogram by name. getHistogram
GetHistogramParams
Get a Chrome histogram by name. getHistogram
GetHistograms
Get Chrome histograms. getHistograms
GetHistogramsParams
Get Chrome histograms. getHistograms
GetVersion
Returns version information. getVersion
GetVersionParams
Returns version information. getVersion
GetWindowBounds
Get position and size of the browser window. getWindowBounds
GetWindowBoundsParams
Get position and size of the browser window. getWindowBounds
GetWindowForTarget
Get the browser window that contains the devtools target. getWindowForTarget
GetWindowForTargetParams
Get the browser window that contains the devtools target. getWindowForTarget
ResetPermissions
Reset all permission management for all origins. resetPermissions
ResetPermissionsParams
Reset all permission management for all origins. resetPermissions
SetContentsSize
Set size of the browser contents resizing browser window as necessary. setContentsSize
SetContentsSizeParams
Set size of the browser contents resizing browser window as necessary. setContentsSize
SetDockTile
Set dock tile details, platform-specific. setDockTile
SetDockTileParams
Set dock tile details, platform-specific. setDockTile
SetDownloadBehavior
Set the behavior when downloading a file. setDownloadBehavior
SetDownloadBehaviorParams
Set the behavior when downloading a file. setDownloadBehavior
SetPermission
Set permission settings for given embedding and embedded origins. setPermission
SetPermissionParams
Set permission settings for given embedding and embedded origins. setPermission
SetWindowBounds
Set position and/or size of the browser window. setWindowBounds
SetWindowBoundsParams
Set position and/or size of the browser window. setWindowBounds

Enums§

AddPrivacySandboxCoordinatorKeyConfigMethod
AddPrivacySandboxEnrollmentOverrideMethod
BrowserCommands
CancelDownloadMethod
CloseMethod
CrashGpuProcessMethod
CrashMethod
ExecuteBrowserCommandMethod
GetBrowserCommandLineMethod
GetHistogramMethod
GetHistogramsMethod
GetVersionMethod
GetWindowBoundsMethod
GetWindowForTargetMethod
ResetPermissionsMethod
SetContentsSizeMethod
SetDockTileMethod
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.
SetDownloadBehaviorMethod
SetPermissionMethod
SetWindowBoundsMethod