Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandTargetActivateTarget + const CommandTargetAttachToBrowserTarget + const CommandTargetAttachToTarget + const CommandTargetCloseTarget + const CommandTargetCreateBrowserContext + const CommandTargetCreateTarget + const CommandTargetDetachFromTarget + const CommandTargetDisposeBrowserContext + const CommandTargetExposeDevToolsProtocol + const CommandTargetGetBrowserContexts + const CommandTargetGetTargetInfo + const CommandTargetGetTargets + const CommandTargetSendMessageToTarget + const CommandTargetSetAutoAttach + const CommandTargetSetDiscoverTargets + const CommandTargetSetRemoteLocations + const EventTargetAttachedToTarget + const EventTargetDetachedFromTarget + const EventTargetReceivedMessageFromTarget + const EventTargetTargetCrashed + const EventTargetTargetCreated + const EventTargetTargetDestroyed + const EventTargetTargetInfoChanged + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type ActivateTargetArgs struct + TargetID ID + func (a *ActivateTargetArgs) MarshalJSON() ([]byte, error) + func (a *ActivateTargetArgs) UnmarshalJSON(b []byte) error + type ActivateTargetReply struct + func (a *ActivateTargetReply) GetFrameID() string + func (a *ActivateTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ActivateTargetReply) UnmarshalJSON(b []byte) error + type AttachToBrowserTargetArgs struct + func (a *AttachToBrowserTargetArgs) MarshalJSON() ([]byte, error) + func (a *AttachToBrowserTargetArgs) UnmarshalJSON(b []byte) error + type AttachToBrowserTargetReply struct + SessionID SessionID + func (a *AttachToBrowserTargetReply) GetFrameID() string + func (a *AttachToBrowserTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AttachToBrowserTargetReply) UnmarshalJSON(b []byte) error + type AttachToTargetArgs struct + Flatten bool + TargetID ID + func (a *AttachToTargetArgs) MarshalJSON() ([]byte, error) + func (a *AttachToTargetArgs) UnmarshalJSON(b []byte) error + type AttachToTargetReply struct + SessionID SessionID + func (a *AttachToTargetReply) GetFrameID() string + func (a *AttachToTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AttachToTargetReply) UnmarshalJSON(b []byte) error + type AttachedToTargetReply struct + SessionID SessionID + TargetInfo Info + WaitingForDebugger bool + func (a *AttachedToTargetReply) GetFrameID() string + func (a *AttachedToTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AttachedToTargetReply) UnmarshalJSON(b []byte) error + type CloseTargetArgs struct + TargetID ID + func (a *CloseTargetArgs) MarshalJSON() ([]byte, error) + func (a *CloseTargetArgs) UnmarshalJSON(b []byte) error + type CloseTargetReply struct + Success bool + func (a *CloseTargetReply) GetFrameID() string + func (a *CloseTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CloseTargetReply) UnmarshalJSON(b []byte) error + type CrashedReply struct + ErrorCode int + Status string + TargetID ID + func (a *CrashedReply) GetFrameID() string + func (a *CrashedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CrashedReply) UnmarshalJSON(b []byte) error + type CreateBrowserContextArgs struct + DisposeOnDetach bool + func (a *CreateBrowserContextArgs) MarshalJSON() ([]byte, error) + func (a *CreateBrowserContextArgs) UnmarshalJSON(b []byte) error + type CreateBrowserContextReply struct + BrowserContextID shared.ContextID + func (a *CreateBrowserContextReply) GetFrameID() string + func (a *CreateBrowserContextReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CreateBrowserContextReply) UnmarshalJSON(b []byte) error + type CreateTargetArgs struct + Background bool + BrowserContextID shared.ContextID + EnableBeginFrameControl bool + Height int + NewWindow bool + URL string + Width int + func (a *CreateTargetArgs) MarshalJSON() ([]byte, error) + func (a *CreateTargetArgs) UnmarshalJSON(b []byte) error + type CreateTargetReply struct + TargetID ID + func (a *CreateTargetReply) GetFrameID() string + func (a *CreateTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CreateTargetReply) UnmarshalJSON(b []byte) error + type CreatedReply struct + TargetInfo Info + func (a *CreatedReply) GetFrameID() string + func (a *CreatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CreatedReply) UnmarshalJSON(b []byte) error + type DestroyedReply struct + TargetID ID + func (a *DestroyedReply) GetFrameID() string + func (a *DestroyedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DestroyedReply) UnmarshalJSON(b []byte) error + type DetachFromTargetArgs struct + SessionID SessionID + TargetID ID + func (a *DetachFromTargetArgs) MarshalJSON() ([]byte, error) + func (a *DetachFromTargetArgs) UnmarshalJSON(b []byte) error + type DetachFromTargetReply struct + func (a *DetachFromTargetReply) GetFrameID() string + func (a *DetachFromTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DetachFromTargetReply) UnmarshalJSON(b []byte) error + type DetachedFromTargetReply struct + SessionID SessionID + TargetID ID + func (a *DetachedFromTargetReply) GetFrameID() string + func (a *DetachedFromTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DetachedFromTargetReply) UnmarshalJSON(b []byte) error + type DisposeBrowserContextArgs struct + BrowserContextID shared.ContextID + func (a *DisposeBrowserContextArgs) MarshalJSON() ([]byte, error) + func (a *DisposeBrowserContextArgs) UnmarshalJSON(b []byte) error + type DisposeBrowserContextReply struct + func (a *DisposeBrowserContextReply) GetFrameID() string + func (a *DisposeBrowserContextReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisposeBrowserContextReply) UnmarshalJSON(b []byte) error + type ExposeDevToolsProtocolArgs struct + BindingName string + TargetID ID + func (a *ExposeDevToolsProtocolArgs) MarshalJSON() ([]byte, error) + func (a *ExposeDevToolsProtocolArgs) UnmarshalJSON(b []byte) error + type ExposeDevToolsProtocolReply struct + func (a *ExposeDevToolsProtocolReply) GetFrameID() string + func (a *ExposeDevToolsProtocolReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ExposeDevToolsProtocolReply) UnmarshalJSON(b []byte) error + type GetBrowserContextsArgs struct + func (a *GetBrowserContextsArgs) MarshalJSON() ([]byte, error) + func (a *GetBrowserContextsArgs) UnmarshalJSON(b []byte) error + type GetBrowserContextsReply struct + BrowserContextIDs []shared.ContextID + func (a *GetBrowserContextsReply) GetFrameID() string + func (a *GetBrowserContextsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetBrowserContextsReply) UnmarshalJSON(b []byte) error + type GetTargetInfoArgs struct + TargetID ID + func (a *GetTargetInfoArgs) MarshalJSON() ([]byte, error) + func (a *GetTargetInfoArgs) UnmarshalJSON(b []byte) error + type GetTargetInfoReply struct + TargetInfo Info + func (a *GetTargetInfoReply) GetFrameID() string + func (a *GetTargetInfoReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetTargetInfoReply) UnmarshalJSON(b []byte) error + type GetTargetsArgs struct + func (a *GetTargetsArgs) MarshalJSON() ([]byte, error) + func (a *GetTargetsArgs) UnmarshalJSON(b []byte) error + type GetTargetsReply struct + TargetInfos []Info + func (a *GetTargetsReply) GetFrameID() string + func (a *GetTargetsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetTargetsReply) UnmarshalJSON(b []byte) error + type ID string + type Info struct + Attached bool + BrowserContextID shared.ContextID + OpenerID ID + TargetID ID + Title string + Type string + URL string + type InfoChangedReply struct + TargetInfo Info + func (a *InfoChangedReply) GetFrameID() string + func (a *InfoChangedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *InfoChangedReply) UnmarshalJSON(b []byte) error + type ReceivedMessageFromTargetReply struct + Message string + SessionID SessionID + TargetID ID + func (a *ReceivedMessageFromTargetReply) GetFrameID() string + func (a *ReceivedMessageFromTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ReceivedMessageFromTargetReply) UnmarshalJSON(b []byte) error + type RemoteLocation struct + Host string + Port int + type SendMessageToTargetArgs struct + Message string + SessionID SessionID + TargetID ID + func (a *SendMessageToTargetArgs) MarshalJSON() ([]byte, error) + func (a *SendMessageToTargetArgs) UnmarshalJSON(b []byte) error + type SendMessageToTargetReply struct + func (a *SendMessageToTargetReply) GetFrameID() string + func (a *SendMessageToTargetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SendMessageToTargetReply) UnmarshalJSON(b []byte) error + type SessionID string + type SetAutoAttachArgs struct + AutoAttach bool + Flatten bool + WaitForDebuggerOnStart bool + func (a *SetAutoAttachArgs) MarshalJSON() ([]byte, error) + func (a *SetAutoAttachArgs) UnmarshalJSON(b []byte) error + type SetAutoAttachReply struct + func (a *SetAutoAttachReply) GetFrameID() string + func (a *SetAutoAttachReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetAutoAttachReply) UnmarshalJSON(b []byte) error + type SetDiscoverTargetsArgs struct + Discover bool + func (a *SetDiscoverTargetsArgs) MarshalJSON() ([]byte, error) + func (a *SetDiscoverTargetsArgs) UnmarshalJSON(b []byte) error + type SetDiscoverTargetsReply struct + func (a *SetDiscoverTargetsReply) GetFrameID() string + func (a *SetDiscoverTargetsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetDiscoverTargetsReply) UnmarshalJSON(b []byte) error + type SetRemoteLocationsArgs struct + Locations []RemoteLocation + func (a *SetRemoteLocationsArgs) MarshalJSON() ([]byte, error) + func (a *SetRemoteLocationsArgs) UnmarshalJSON(b []byte) error + type SetRemoteLocationsReply struct + func (a *SetRemoteLocationsReply) GetFrameID() string + func (a *SetRemoteLocationsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetRemoteLocationsReply) UnmarshalJSON(b []byte) error + type Unmarshaler func() json.Unmarshaler