Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandBrowserClose + const CommandBrowserCrash + const CommandBrowserCrashGpuProcess + const CommandBrowserGetBrowserCommandLine + const CommandBrowserGetHistogram + const CommandBrowserGetHistograms + const CommandBrowserGetVersion + const CommandBrowserGetWindowBounds + const CommandBrowserGetWindowForTarget + const CommandBrowserGrantPermissions + const CommandBrowserResetPermissions + const CommandBrowserSetDockTile + const CommandBrowserSetDownloadBehavior + const CommandBrowserSetPermission + const CommandBrowserSetWindowBounds + type Bounds struct + Height int + Left int + Top int + Width int + WindowState *WindowState + type Bucket struct + Count int + High int + Low int + type CloseArgs struct + func (a *CloseArgs) MarshalJSON() ([]byte, error) + func (a *CloseArgs) UnmarshalJSON(b []byte) error + type CloseReply struct + func (a *CloseReply) GetFrameID() string + func (a *CloseReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CloseReply) UnmarshalJSON(b []byte) error + type CrashArgs struct + func (a *CrashArgs) MarshalJSON() ([]byte, error) + func (a *CrashArgs) UnmarshalJSON(b []byte) error + type CrashGPUProcessArgs struct + func (a *CrashGPUProcessArgs) MarshalJSON() ([]byte, error) + func (a *CrashGPUProcessArgs) UnmarshalJSON(b []byte) error + type CrashGPUProcessReply struct + func (a *CrashGPUProcessReply) GetFrameID() string + func (a *CrashGPUProcessReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CrashGPUProcessReply) UnmarshalJSON(b []byte) error + type CrashReply struct + func (a *CrashReply) GetFrameID() string + func (a *CrashReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CrashReply) UnmarshalJSON(b []byte) error + type GetBrowserCommandLineArgs struct + func (a *GetBrowserCommandLineArgs) MarshalJSON() ([]byte, error) + func (a *GetBrowserCommandLineArgs) UnmarshalJSON(b []byte) error + type GetBrowserCommandLineReply struct + Arguments []string + func (a *GetBrowserCommandLineReply) GetFrameID() string + func (a *GetBrowserCommandLineReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetBrowserCommandLineReply) UnmarshalJSON(b []byte) error + type GetHistogramArgs struct + Delta bool + Name string + func (a *GetHistogramArgs) MarshalJSON() ([]byte, error) + func (a *GetHistogramArgs) UnmarshalJSON(b []byte) error + type GetHistogramReply struct + Histogram Histogram + func (a *GetHistogramReply) GetFrameID() string + func (a *GetHistogramReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetHistogramReply) UnmarshalJSON(b []byte) error + type GetHistogramsArgs struct + Delta bool + Query string + func (a *GetHistogramsArgs) MarshalJSON() ([]byte, error) + func (a *GetHistogramsArgs) UnmarshalJSON(b []byte) error + type GetHistogramsReply struct + Histograms []Histogram + func (a *GetHistogramsReply) GetFrameID() string + func (a *GetHistogramsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetHistogramsReply) UnmarshalJSON(b []byte) error + type GetVersionArgs struct + func (a *GetVersionArgs) MarshalJSON() ([]byte, error) + func (a *GetVersionArgs) UnmarshalJSON(b []byte) error + type GetVersionReply struct + JsVersion string + Product string + ProtocolVersion string + Revision string + UserAgent string + func (a *GetVersionReply) GetFrameID() string + func (a *GetVersionReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetVersionReply) UnmarshalJSON(b []byte) error + type GetWindowBoundsArgs struct + WindowID WindowID + func (a *GetWindowBoundsArgs) MarshalJSON() ([]byte, error) + func (a *GetWindowBoundsArgs) UnmarshalJSON(b []byte) error + type GetWindowBoundsReply struct + Bounds Bounds + func (a *GetWindowBoundsReply) GetFrameID() string + func (a *GetWindowBoundsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetWindowBoundsReply) UnmarshalJSON(b []byte) error + type GetWindowForTargetArgs struct + TargetID target.ID + func (a *GetWindowForTargetArgs) MarshalJSON() ([]byte, error) + func (a *GetWindowForTargetArgs) UnmarshalJSON(b []byte) error + type GetWindowForTargetReply struct + Bounds Bounds + WindowID WindowID + func (a *GetWindowForTargetReply) GetFrameID() string + func (a *GetWindowForTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetWindowForTargetReply) UnmarshalJSON(b []byte) error + type GrantPermissionsArgs struct + BrowserContextID shared.ContextID + Origin string + Permissions []PermissionType + func (a *GrantPermissionsArgs) MarshalJSON() ([]byte, error) + func (a *GrantPermissionsArgs) UnmarshalJSON(b []byte) error + type GrantPermissionsReply struct + func (a *GrantPermissionsReply) GetFrameID() string + func (a *GrantPermissionsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GrantPermissionsReply) UnmarshalJSON(b []byte) error + type Histogram struct + Buckets []Bucket + Count int + Name string + Sum int + type PermissionDescriptor struct + AllowWithoutSanitization bool + Name string + Sysex bool + Type string + UserVisibleOnly bool + type PermissionSetting string + const PermissionSettingDenied + const PermissionSettingGranted + const PermissionSettingNotSet + const PermissionSettingPrompt + func (e PermissionSetting) String() string + func (e PermissionSetting) Valid() bool + type PermissionType string + const PermissionTypeAccessibilityEvents + const PermissionTypeAudioCapture + const PermissionTypeBackgroundFetch + const PermissionTypeBackgroundSync + const PermissionTypeClipboardReadWrite + const PermissionTypeClipboardSanitizedWrite + const PermissionTypeDurableStorage + const PermissionTypeFlash + const PermissionTypeGeolocation + const PermissionTypeIdleDetection + const PermissionTypeMidi + const PermissionTypeMidiSysex + const PermissionTypeNfc + const PermissionTypeNotSet + const PermissionTypeNotifications + const PermissionTypePaymentHandler + const PermissionTypePeriodicBackgroundSync + const PermissionTypeProtectedMediaIdentifier + const PermissionTypeSensors + const PermissionTypeVideoCapture + const PermissionTypeWakeLockScreen + const PermissionTypeWakeLockSystem + func (e PermissionType) String() string + func (e PermissionType) Valid() bool + type ResetPermissionsArgs struct + BrowserContextID shared.ContextID + func (a *ResetPermissionsArgs) MarshalJSON() ([]byte, error) + func (a *ResetPermissionsArgs) UnmarshalJSON(b []byte) error + type ResetPermissionsReply struct + func (a *ResetPermissionsReply) GetFrameID() string + func (a *ResetPermissionsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ResetPermissionsReply) UnmarshalJSON(b []byte) error + type SetDockTileArgs struct + BadgeLabel string + Image string + func (a *SetDockTileArgs) MarshalJSON() ([]byte, error) + func (a *SetDockTileArgs) UnmarshalJSON(b []byte) error + type SetDockTileReply struct + func (a *SetDockTileReply) GetFrameID() string + func (a *SetDockTileReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetDockTileReply) UnmarshalJSON(b []byte) error + type SetDownloadBehaviorArgs struct + Behavior string + BrowserContextID shared.ContextID + DownloadPath string + func (a *SetDownloadBehaviorArgs) MarshalJSON() ([]byte, error) + func (a *SetDownloadBehaviorArgs) UnmarshalJSON(b []byte) error + type SetDownloadBehaviorReply struct + func (a *SetDownloadBehaviorReply) GetFrameID() string + func (a *SetDownloadBehaviorReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetDownloadBehaviorReply) UnmarshalJSON(b []byte) error + type SetPermissionArgs struct + BrowserContextID shared.ContextID + Origin string + Permission PermissionDescriptor + Setting PermissionSetting + func (a *SetPermissionArgs) MarshalJSON() ([]byte, error) + func (a *SetPermissionArgs) UnmarshalJSON(b []byte) error + type SetPermissionReply struct + func (a *SetPermissionReply) GetFrameID() string + func (a *SetPermissionReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetPermissionReply) UnmarshalJSON(b []byte) error + type SetWindowBoundsArgs struct + Bounds Bounds + WindowID WindowID + func (a *SetWindowBoundsArgs) MarshalJSON() ([]byte, error) + func (a *SetWindowBoundsArgs) UnmarshalJSON(b []byte) error + type SetWindowBoundsReply struct + func (a *SetWindowBoundsReply) GetFrameID() string + func (a *SetWindowBoundsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetWindowBoundsReply) UnmarshalJSON(b []byte) error + type WindowID int + type WindowState string + const WindowStateFullscreen + const WindowStateMaximized + const WindowStateMinimized + const WindowStateNormal + const WindowStateNotSet + func (e WindowState) String() string + func (e WindowState) Valid() bool