package
0.0.0-20250224005500-01948a15fe7c
Repository: https://github.com/chromedp/cdproto.git
Documentation: pkg.go.dev

# Functions

AddPrivacySandboxEnrollmentOverride allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled.
CancelDownload cancel a download if in progress.
Close close browser gracefully.
Crash crashes browser on the main thread.
CrashGPUProcess crashes GPU process.
ExecuteBrowserCommand invoke custom browser commands used by telemetry.
GetBrowserCommandLine returns the command line switches for the browser process if, and only if --enable-automation is on the commandline.
GetHistogram get a Chrome histogram by name.
GetHistograms get Chrome histograms.
GetVersion returns version information.
GetWindowBounds get position and size of the browser window.
GetWindowForTarget get the browser window that contains the devtools target.
GrantPermissions grant specific permissions to the given origin and reject all others.
ResetPermissions reset all permission management for all origins.
SetDockTile set dock tile details, platform-specific.
SetDownloadBehavior set the behavior when downloading a file.
SetPermission set permission settings for given origin.
SetWindowBounds set position and/or size of the browser window.

# Constants

Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
CommandID values.
CommandID values.
Command names.
Command names.
Command names.
Command names.
Command names.
DownloadProgressState values.
DownloadProgressState values.
DownloadProgressState values.
PermissionSetting values.
PermissionSetting values.
PermissionSetting values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
PermissionType values.
SetDownloadBehaviorBehavior values.
SetDownloadBehaviorBehavior values.
SetDownloadBehaviorBehavior values.
SetDownloadBehaviorBehavior values.
WindowState values.
WindowState values.
WindowState values.
WindowState values.

# Structs

AddPrivacySandboxEnrollmentOverrideParams allows a site to use privacy sandbox features that require enrollment without the site actually being enrolled.
Bounds browser window bounds information.
Bucket chrome histogram bucket.
CancelDownloadParams cancel a download if in progress.
CloseParams close browser gracefully.
CrashGPUProcessParams crashes GPU process.
CrashParams crashes browser on the main thread.
EventDownloadProgress fired when download makes progress.
EventDownloadWillBegin fired when page is about to start a download.
ExecuteBrowserCommandParams invoke custom browser commands used by telemetry.
GetBrowserCommandLineParams returns the command line switches for the browser process if, and only if --enable-automation is on the commandline.
GetBrowserCommandLineReturns return values.
GetHistogramParams get a Chrome histogram by name.
GetHistogramReturns return values.
GetHistogramsParams get Chrome histograms.
GetHistogramsReturns return values.
GetVersionParams returns version information.
GetVersionReturns return values.
GetWindowBoundsParams get position and size of the browser window.
GetWindowBoundsReturns return values.
GetWindowForTargetParams get the browser window that contains the devtools target.
GetWindowForTargetReturns return values.
GrantPermissionsParams grant specific permissions to the given origin and reject all others.
Histogram chrome histogram.
PermissionDescriptor definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dom-permissiondescriptor.
ResetPermissionsParams reset all permission management for all origins.
SetDockTileParams set dock tile details, platform-specific.
SetDownloadBehaviorParams set the behavior when downloading a file.
SetPermissionParams set permission settings for given origin.
SetWindowBoundsParams set position and/or size of the browser window.

# Type aliases

CommandID browser command ids used by executeBrowserCommand.
DownloadProgressState download status.
PermissionSetting [no description].
PermissionType [no description].
SetDownloadBehaviorBehavior whether to allow all or deny all download requests, or use default Chrome behavior if available (otherwise deny).
WindowID [no description].
WindowState the state of the browser window.