Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandOverlayDisable + const CommandOverlayEnable + const CommandOverlayGetHighlightObjectForTest + const CommandOverlayHideHighlight + const CommandOverlayHighlightFrame + const CommandOverlayHighlightNode + const CommandOverlayHighlightQuad + const CommandOverlayHighlightRect + const CommandOverlaySetInspectMode + const CommandOverlaySetPausedInDebuggerMessage + const CommandOverlaySetShowAdHighlights + const CommandOverlaySetShowDebugBorders + const CommandOverlaySetShowFPSCounter + const CommandOverlaySetShowHitTestBorders + const CommandOverlaySetShowLayoutShiftRegions + const CommandOverlaySetShowPaintRects + const CommandOverlaySetShowScrollBottleneckRects + const CommandOverlaySetShowViewportSizeOnResize + const EventOverlayInspectModeCanceled + const EventOverlayInspectNodeRequested + const EventOverlayNodeHighlightRequested + const EventOverlayScreenshotRequested + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type DisableArgs struct + func (a *DisableArgs) MarshalJSON() ([]byte, error) + func (a *DisableArgs) UnmarshalJSON(b []byte) error + type DisableReply struct + func (a *DisableReply) GetFrameID() string + func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type GetHighlightObjectForTestArgs struct + IncludeDistance bool + IncludeStyle bool + NodeID dom.NodeID + func (a *GetHighlightObjectForTestArgs) MarshalJSON() ([]byte, error) + func (a *GetHighlightObjectForTestArgs) UnmarshalJSON(b []byte) error + type GetHighlightObjectForTestReply struct + Highlight json.RawMessage + func (a *GetHighlightObjectForTestReply) GetFrameID() string + func (a *GetHighlightObjectForTestReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetHighlightObjectForTestReply) UnmarshalJSON(b []byte) error + type HideHighlightArgs struct + func (a *HideHighlightArgs) MarshalJSON() ([]byte, error) + func (a *HideHighlightArgs) UnmarshalJSON(b []byte) error + type HideHighlightReply struct + func (a *HideHighlightReply) GetFrameID() string + func (a *HideHighlightReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *HideHighlightReply) UnmarshalJSON(b []byte) error + type HighlightConfig struct + BorderColor *dom.RGBA + CSSGridColor *dom.RGBA + ContentColor *dom.RGBA + EventTargetColor *dom.RGBA + MarginColor *dom.RGBA + PaddingColor *dom.RGBA + ShapeColor *dom.RGBA + ShapeMarginColor *dom.RGBA + ShowExtensionLines bool + ShowInfo bool + ShowRulers bool + ShowStyles bool + type HighlightFrameArgs struct + ContentColor *dom.RGBA + ContentOutlineColor *dom.RGBA + FrameID shared.FrameID + func (a *HighlightFrameArgs) MarshalJSON() ([]byte, error) + func (a *HighlightFrameArgs) UnmarshalJSON(b []byte) error + type HighlightFrameReply struct + func (a *HighlightFrameReply) GetFrameID() string + func (a *HighlightFrameReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *HighlightFrameReply) UnmarshalJSON(b []byte) error + type HighlightNodeArgs struct + BackendNodeID dom.BackendNodeID + HighlightConfig HighlightConfig + NodeID dom.NodeID + ObjectID shared.RemoteObjectID + Selector string + func (a *HighlightNodeArgs) MarshalJSON() ([]byte, error) + func (a *HighlightNodeArgs) UnmarshalJSON(b []byte) error + type HighlightNodeReply struct + func (a *HighlightNodeReply) GetFrameID() string + func (a *HighlightNodeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *HighlightNodeReply) UnmarshalJSON(b []byte) error + type HighlightQuadArgs struct + Color *dom.RGBA + OutlineColor *dom.RGBA + Quad dom.Quad + func (a *HighlightQuadArgs) MarshalJSON() ([]byte, error) + func (a *HighlightQuadArgs) UnmarshalJSON(b []byte) error + type HighlightQuadReply struct + func (a *HighlightQuadReply) GetFrameID() string + func (a *HighlightQuadReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *HighlightQuadReply) UnmarshalJSON(b []byte) error + type HighlightRectArgs struct + Color *dom.RGBA + Height int + OutlineColor *dom.RGBA + Width int + X int + Y int + func (a *HighlightRectArgs) MarshalJSON() ([]byte, error) + func (a *HighlightRectArgs) UnmarshalJSON(b []byte) error + type HighlightRectReply struct + func (a *HighlightRectReply) GetFrameID() string + func (a *HighlightRectReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *HighlightRectReply) UnmarshalJSON(b []byte) error + type InspectMode string + const InspectModeCaptureAreaScreenshot + const InspectModeNone + const InspectModeNotSet + const InspectModeSearchForNode + const InspectModeSearchForUAShadowDOM + const InspectModeShowDistances + func (e InspectMode) String() string + func (e InspectMode) Valid() bool + type InspectModeCanceledReply struct + func (a *InspectModeCanceledReply) GetFrameID() string + func (a *InspectModeCanceledReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *InspectModeCanceledReply) UnmarshalJSON(b []byte) error + type InspectNodeRequestedReply struct + BackendNodeID dom.BackendNodeID + func (a *InspectNodeRequestedReply) GetFrameID() string + func (a *InspectNodeRequestedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *InspectNodeRequestedReply) UnmarshalJSON(b []byte) error + type NodeHighlightRequestedReply struct + NodeID dom.NodeID + func (a *NodeHighlightRequestedReply) GetFrameID() string + func (a *NodeHighlightRequestedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *NodeHighlightRequestedReply) UnmarshalJSON(b []byte) error + type ScreenshotRequestedReply struct + Viewport page.Viewport + func (a *ScreenshotRequestedReply) GetFrameID() string + func (a *ScreenshotRequestedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ScreenshotRequestedReply) UnmarshalJSON(b []byte) error + type SetInspectModeArgs struct + HighlightConfig *HighlightConfig + Mode InspectMode + func (a *SetInspectModeArgs) MarshalJSON() ([]byte, error) + func (a *SetInspectModeArgs) UnmarshalJSON(b []byte) error + type SetInspectModeReply struct + func (a *SetInspectModeReply) GetFrameID() string + func (a *SetInspectModeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetInspectModeReply) UnmarshalJSON(b []byte) error + type SetPausedInDebuggerMessageArgs struct + Message string + func (a *SetPausedInDebuggerMessageArgs) MarshalJSON() ([]byte, error) + func (a *SetPausedInDebuggerMessageArgs) UnmarshalJSON(b []byte) error + type SetPausedInDebuggerMessageReply struct + func (a *SetPausedInDebuggerMessageReply) GetFrameID() string + func (a *SetPausedInDebuggerMessageReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetPausedInDebuggerMessageReply) UnmarshalJSON(b []byte) error + type SetShowAdHighlightsArgs struct + Show bool + func (a *SetShowAdHighlightsArgs) MarshalJSON() ([]byte, error) + func (a *SetShowAdHighlightsArgs) UnmarshalJSON(b []byte) error + type SetShowAdHighlightsReply struct + func (a *SetShowAdHighlightsReply) GetFrameID() string + func (a *SetShowAdHighlightsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowAdHighlightsReply) UnmarshalJSON(b []byte) error + type SetShowDebugBordersArgs struct + Show bool + func (a *SetShowDebugBordersArgs) MarshalJSON() ([]byte, error) + func (a *SetShowDebugBordersArgs) UnmarshalJSON(b []byte) error + type SetShowDebugBordersReply struct + func (a *SetShowDebugBordersReply) GetFrameID() string + func (a *SetShowDebugBordersReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowDebugBordersReply) UnmarshalJSON(b []byte) error + type SetShowFPSCounterArgs struct + Show bool + func (a *SetShowFPSCounterArgs) MarshalJSON() ([]byte, error) + func (a *SetShowFPSCounterArgs) UnmarshalJSON(b []byte) error + type SetShowFPSCounterReply struct + func (a *SetShowFPSCounterReply) GetFrameID() string + func (a *SetShowFPSCounterReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowFPSCounterReply) UnmarshalJSON(b []byte) error + type SetShowHitTestBordersArgs struct + Show bool + func (a *SetShowHitTestBordersArgs) MarshalJSON() ([]byte, error) + func (a *SetShowHitTestBordersArgs) UnmarshalJSON(b []byte) error + type SetShowHitTestBordersReply struct + func (a *SetShowHitTestBordersReply) GetFrameID() string + func (a *SetShowHitTestBordersReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowHitTestBordersReply) UnmarshalJSON(b []byte) error + type SetShowLayoutShiftRegionsArgs struct + Result bool + func (a *SetShowLayoutShiftRegionsArgs) MarshalJSON() ([]byte, error) + func (a *SetShowLayoutShiftRegionsArgs) UnmarshalJSON(b []byte) error + type SetShowLayoutShiftRegionsReply struct + func (a *SetShowLayoutShiftRegionsReply) GetFrameID() string + func (a *SetShowLayoutShiftRegionsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowLayoutShiftRegionsReply) UnmarshalJSON(b []byte) error + type SetShowPaintRectsArgs struct + Result bool + func (a *SetShowPaintRectsArgs) MarshalJSON() ([]byte, error) + func (a *SetShowPaintRectsArgs) UnmarshalJSON(b []byte) error + type SetShowPaintRectsReply struct + func (a *SetShowPaintRectsReply) GetFrameID() string + func (a *SetShowPaintRectsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowPaintRectsReply) UnmarshalJSON(b []byte) error + type SetShowScrollBottleneckRectsArgs struct + Show bool + func (a *SetShowScrollBottleneckRectsArgs) MarshalJSON() ([]byte, error) + func (a *SetShowScrollBottleneckRectsArgs) UnmarshalJSON(b []byte) error + type SetShowScrollBottleneckRectsReply struct + func (a *SetShowScrollBottleneckRectsReply) GetFrameID() string + func (a *SetShowScrollBottleneckRectsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowScrollBottleneckRectsReply) UnmarshalJSON(b []byte) error + type SetShowViewportSizeOnResizeArgs struct + Show bool + func (a *SetShowViewportSizeOnResizeArgs) MarshalJSON() ([]byte, error) + func (a *SetShowViewportSizeOnResizeArgs) UnmarshalJSON(b []byte) error + type SetShowViewportSizeOnResizeReply struct + func (a *SetShowViewportSizeOnResizeReply) GetFrameID() string + func (a *SetShowViewportSizeOnResizeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetShowViewportSizeOnResizeReply) UnmarshalJSON(b []byte) error + type Unmarshaler func() json.Unmarshaler