Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const CommandGetEventListeners + const CommandRemoveDOMBreakpoint + const CommandRemoveEventListenerBreakpoint + const CommandRemoveXHRBreakpoint + const CommandSetBreakOnCSPViolation + const CommandSetDOMBreakpoint + const CommandSetEventListenerBreakpoint + const CommandSetXHRBreakpoint + type CSPViolationType string + const CSPViolationTypeTrustedtypePolicyViolation + const CSPViolationTypeTrustedtypeSinkViolation + func (t *CSPViolationType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *CSPViolationType) UnmarshalJSON(buf []byte) error + func (t CSPViolationType) MarshalEasyJSON(out *jwriter.Writer) + func (t CSPViolationType) MarshalJSON() ([]byte, error) + func (t CSPViolationType) String() string + type DOMBreakpointType string + const DOMBreakpointTypeAttributeModified + const DOMBreakpointTypeNodeRemoved + const DOMBreakpointTypeSubtreeModified + func (t *DOMBreakpointType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *DOMBreakpointType) UnmarshalJSON(buf []byte) error + func (t DOMBreakpointType) MarshalEasyJSON(out *jwriter.Writer) + func (t DOMBreakpointType) MarshalJSON() ([]byte, error) + func (t DOMBreakpointType) String() string + type EventListener struct + BackendNodeID cdp.BackendNodeID + ColumnNumber int64 + Handler *runtime.RemoteObject + LineNumber int64 + Once bool + OriginalHandler *runtime.RemoteObject + Passive bool + ScriptID runtime.ScriptID + Type string + UseCapture bool + func (v *EventListener) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *EventListener) UnmarshalJSON(data []byte) error + func (v EventListener) MarshalEasyJSON(w *jwriter.Writer) + func (v EventListener) MarshalJSON() ([]byte, error) + type GetEventListenersParams struct + Depth int64 + ObjectID runtime.RemoteObjectID + Pierce bool + func GetEventListeners(objectID runtime.RemoteObjectID) *GetEventListenersParams + func (p *GetEventListenersParams) Do(ctx context.Context) (listeners []*EventListener, err error) + func (p GetEventListenersParams) WithDepth(depth int64) *GetEventListenersParams + func (p GetEventListenersParams) WithPierce(pierce bool) *GetEventListenersParams + func (v *GetEventListenersParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetEventListenersParams) UnmarshalJSON(data []byte) error + func (v GetEventListenersParams) MarshalEasyJSON(w *jwriter.Writer) + func (v GetEventListenersParams) MarshalJSON() ([]byte, error) + type GetEventListenersReturns struct + Listeners []*EventListener + func (v *GetEventListenersReturns) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *GetEventListenersReturns) UnmarshalJSON(data []byte) error + func (v GetEventListenersReturns) MarshalEasyJSON(w *jwriter.Writer) + func (v GetEventListenersReturns) MarshalJSON() ([]byte, error) + type RemoveDOMBreakpointParams struct + NodeID cdp.NodeID + Type DOMBreakpointType + func RemoveDOMBreakpoint(nodeID cdp.NodeID, typeVal DOMBreakpointType) *RemoveDOMBreakpointParams + func (p *RemoveDOMBreakpointParams) Do(ctx context.Context) (err error) + func (v *RemoveDOMBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RemoveDOMBreakpointParams) UnmarshalJSON(data []byte) error + func (v RemoveDOMBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) + func (v RemoveDOMBreakpointParams) MarshalJSON() ([]byte, error) + type RemoveEventListenerBreakpointParams struct + EventName string + TargetName string + func RemoveEventListenerBreakpoint(eventName string) *RemoveEventListenerBreakpointParams + func (p *RemoveEventListenerBreakpointParams) Do(ctx context.Context) (err error) + func (p RemoveEventListenerBreakpointParams) WithTargetName(targetName string) *RemoveEventListenerBreakpointParams + func (v *RemoveEventListenerBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RemoveEventListenerBreakpointParams) UnmarshalJSON(data []byte) error + func (v RemoveEventListenerBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) + func (v RemoveEventListenerBreakpointParams) MarshalJSON() ([]byte, error) + type RemoveXHRBreakpointParams struct + URL string + func RemoveXHRBreakpoint(url string) *RemoveXHRBreakpointParams + func (p *RemoveXHRBreakpointParams) Do(ctx context.Context) (err error) + func (v *RemoveXHRBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RemoveXHRBreakpointParams) UnmarshalJSON(data []byte) error + func (v RemoveXHRBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) + func (v RemoveXHRBreakpointParams) MarshalJSON() ([]byte, error) + type SetBreakOnCSPViolationParams struct + ViolationTypes []CSPViolationType + func SetBreakOnCSPViolation(violationTypes []CSPViolationType) *SetBreakOnCSPViolationParams + func (p *SetBreakOnCSPViolationParams) Do(ctx context.Context) (err error) + func (v *SetBreakOnCSPViolationParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetBreakOnCSPViolationParams) UnmarshalJSON(data []byte) error + func (v SetBreakOnCSPViolationParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetBreakOnCSPViolationParams) MarshalJSON() ([]byte, error) + type SetDOMBreakpointParams struct + NodeID cdp.NodeID + Type DOMBreakpointType + func SetDOMBreakpoint(nodeID cdp.NodeID, typeVal DOMBreakpointType) *SetDOMBreakpointParams + func (p *SetDOMBreakpointParams) Do(ctx context.Context) (err error) + func (v *SetDOMBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetDOMBreakpointParams) UnmarshalJSON(data []byte) error + func (v SetDOMBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetDOMBreakpointParams) MarshalJSON() ([]byte, error) + type SetEventListenerBreakpointParams struct + EventName string + TargetName string + func SetEventListenerBreakpoint(eventName string) *SetEventListenerBreakpointParams + func (p *SetEventListenerBreakpointParams) Do(ctx context.Context) (err error) + func (p SetEventListenerBreakpointParams) WithTargetName(targetName string) *SetEventListenerBreakpointParams + func (v *SetEventListenerBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetEventListenerBreakpointParams) UnmarshalJSON(data []byte) error + func (v SetEventListenerBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetEventListenerBreakpointParams) MarshalJSON() ([]byte, error) + type SetXHRBreakpointParams struct + URL string + func SetXHRBreakpoint(url string) *SetXHRBreakpointParams + func (p *SetXHRBreakpointParams) Do(ctx context.Context) (err error) + func (v *SetXHRBreakpointParams) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *SetXHRBreakpointParams) UnmarshalJSON(data []byte) error + func (v SetXHRBreakpointParams) MarshalEasyJSON(w *jwriter.Writer) + func (v SetXHRBreakpointParams) MarshalJSON() ([]byte, error)