package
0.0.0-20200525080501-418ac89e6fd2
Repository: https://github.com/bootgo/cdproto.git
Documentation: pkg.go.dev

# Functions

Close close browser gracefully.
Crash crashes browser on the main thread.
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.
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.
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.
WindowState values.
WindowState values.
WindowState values.
WindowState values.

# Structs

Bounds browser window bounds information.
Bucket chrome histogram bucket.
CloseParams close browser gracefully.
CrashParams crashes browser on the main thread.
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.
ResetPermissionsParams reset all permission management for all origins.
SetWindowBoundsParams set position and/or size of the browser window.

# Type aliases

PermissionType [no description].
WindowID [no description].
WindowState the state of the browser window.