Versions in this module Expand all Collapse all v0 v0.0.4 Jun 30, 2024 Changes in this version + const EmptyFrameID + const EmptyNodeID + var MonotonicTimeEpoch *time.Time + func Execute(ctx context.Context, method string, params easyjson.Marshaler, ...) error + func WithExecutor(parent context.Context, executor Executor) context.Context + type AdFrameExplanation string + const AdFrameExplanationCreatedByAdScript + const AdFrameExplanationMatchedBlockingRule + const AdFrameExplanationParentIsAd + func (t *AdFrameExplanation) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AdFrameExplanation) UnmarshalJSON(buf []byte) error + func (t AdFrameExplanation) MarshalEasyJSON(out *jwriter.Writer) + func (t AdFrameExplanation) MarshalJSON() ([]byte, error) + func (t AdFrameExplanation) String() string + type AdFrameStatus struct + AdFrameType AdFrameType + Explanations []AdFrameExplanation + func (v *AdFrameStatus) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *AdFrameStatus) UnmarshalJSON(data []byte) error + func (v AdFrameStatus) MarshalEasyJSON(w *jwriter.Writer) + func (v AdFrameStatus) MarshalJSON() ([]byte, error) + type AdFrameType string + const AdFrameTypeChild + const AdFrameTypeNone + const AdFrameTypeRoot + func (t *AdFrameType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *AdFrameType) UnmarshalJSON(buf []byte) error + func (t AdFrameType) MarshalEasyJSON(out *jwriter.Writer) + func (t AdFrameType) MarshalJSON() ([]byte, error) + func (t AdFrameType) String() string + type BackendNode struct + BackendNodeID BackendNodeID + NodeName string + NodeType NodeType + func (v *BackendNode) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *BackendNode) UnmarshalJSON(data []byte) error + func (v BackendNode) MarshalEasyJSON(w *jwriter.Writer) + func (v BackendNode) MarshalJSON() ([]byte, error) + type BackendNodeID int64 + func (t *BackendNodeID) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *BackendNodeID) UnmarshalJSON(buf []byte) error + func (t BackendNodeID) Int64() int64 + type BrowserContextID string + func (t BrowserContextID) String() string + type CompatibilityMode string + const CompatibilityModeLimitedQuirksMode + const CompatibilityModeNoQuirksMode + const CompatibilityModeQuirksMode + func (t *CompatibilityMode) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *CompatibilityMode) UnmarshalJSON(buf []byte) error + func (t CompatibilityMode) MarshalEasyJSON(out *jwriter.Writer) + func (t CompatibilityMode) MarshalJSON() ([]byte, error) + func (t CompatibilityMode) String() string + type CrossOriginIsolatedContextType string + const CrossOriginIsolatedContextTypeIsolated + const CrossOriginIsolatedContextTypeNotIsolated + const CrossOriginIsolatedContextTypeNotIsolatedFeatureDisabled + func (t *CrossOriginIsolatedContextType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *CrossOriginIsolatedContextType) UnmarshalJSON(buf []byte) error + func (t CrossOriginIsolatedContextType) MarshalEasyJSON(out *jwriter.Writer) + func (t CrossOriginIsolatedContextType) MarshalJSON() ([]byte, error) + func (t CrossOriginIsolatedContextType) String() string + type ErrUnknownCommandOrEvent string + func (err ErrUnknownCommandOrEvent) Error() string + type Error string + const ErrInvalidContext + const ErrMsgMissingParamsOrResult + func (err Error) Error() string + type Executor interface + Execute func(context.Context, string, easyjson.Marshaler, easyjson.Unmarshaler) error + func ExecutorFromContext(ctx context.Context) Executor + type Frame struct + AdFrameStatus *AdFrameStatus + CrossOriginIsolatedContextType CrossOriginIsolatedContextType + DomainAndRegistry string + GatedAPIFeatures []GatedAPIFeatures + ID FrameID + LoaderID LoaderID + MimeType string + Name string + Nodes map[NodeID]*Node + ParentID FrameID + Root *Node + SecureContextType SecureContextType + SecurityOrigin string + State FrameState + URL string + URLFragment string + UnreachableURL string + func (v *Frame) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Frame) UnmarshalJSON(data []byte) error + func (v Frame) MarshalEasyJSON(w *jwriter.Writer) + func (v Frame) MarshalJSON() ([]byte, error) + type FrameID string + func (t *FrameID) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *FrameID) UnmarshalJSON(buf []byte) error + func (t FrameID) String() string + type FrameState uint16 + const FrameAttached + const FrameDOMContentEventFired + const FrameLoadEventFired + const FrameLoading + const FrameNavigated + const FrameScheduledNavigation + func (fs FrameState) String() string + type GatedAPIFeatures string + const GatedAPIFeaturesPerformanceMeasureMemory + const GatedAPIFeaturesPerformanceProfile + const GatedAPIFeaturesSharedArrayBuffers + const GatedAPIFeaturesSharedArrayBuffersTransferAllowed + func (t *GatedAPIFeatures) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *GatedAPIFeatures) UnmarshalJSON(buf []byte) error + func (t GatedAPIFeatures) MarshalEasyJSON(out *jwriter.Writer) + func (t GatedAPIFeatures) MarshalJSON() ([]byte, error) + func (t GatedAPIFeatures) String() string + type LoaderID string + func (t LoaderID) String() string + type MonotonicTime time.Time + func (t *MonotonicTime) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *MonotonicTime) UnmarshalJSON(buf []byte) error + func (t MonotonicTime) MarshalEasyJSON(out *jwriter.Writer) + func (t MonotonicTime) MarshalJSON() ([]byte, error) + func (t MonotonicTime) Time() time.Time + type Node struct + AssignedSlot *BackendNode + Attributes []string + BackendNodeID BackendNodeID + BaseURL string + ChildNodeCount int64 + Children []*Node + CompatibilityMode CompatibilityMode + ContentDocument *Node + DistributedNodes []*BackendNode + DocumentURL string + FrameID FrameID + InternalSubset string + Invalidated chan struct{} + IsSVG bool + LocalName string + Name string + NodeID NodeID + NodeName string + NodeType NodeType + NodeValue string + Parent *Node + ParentID NodeID + PseudoElements []*Node + PseudoIdentifier string + PseudoType PseudoType + PublicID string + ShadowRootType ShadowRootType + ShadowRoots []*Node + State NodeState + SystemID string + TemplateContent *Node + Value string + XMLVersion string + func (n *Node) Attribute(name string) (string, bool) + func (n *Node) AttributeValue(name string) string + func (n *Node) Dump(prefix, indent string, nodeIDs bool) string + func (n *Node) FullXPath() string + func (n *Node) FullXPathByID() string + func (n *Node) PartialXPath() string + func (n *Node) PartialXPathByID() string + func (n *Node) WriteTo(w io.Writer, prefix, indent string, nodeIDs bool) (int, error) + func (v *Node) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *Node) UnmarshalJSON(data []byte) error + func (v Node) MarshalEasyJSON(w *jwriter.Writer) + func (v Node) MarshalJSON() ([]byte, error) + type NodeID int64 + func (t *NodeID) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *NodeID) UnmarshalJSON(buf []byte) error + func (t NodeID) Int64() int64 + type NodeState uint8 + const NodeHighlighted + const NodeReady + const NodeVisible + func (ns NodeState) String() string + type NodeType int64 + const NodeTypeAttribute + const NodeTypeCDATA + const NodeTypeComment + const NodeTypeDocument + const NodeTypeDocumentFragment + const NodeTypeDocumentType + const NodeTypeElement + const NodeTypeEntity + const NodeTypeEntityReference + const NodeTypeNotation + const NodeTypeProcessingInstruction + const NodeTypeText + func (t *NodeType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *NodeType) UnmarshalJSON(buf []byte) error + func (t NodeType) Int64() int64 + func (t NodeType) MarshalEasyJSON(out *jwriter.Writer) + func (t NodeType) MarshalJSON() ([]byte, error) + func (t NodeType) String() string + type OriginTrial struct + Status OriginTrialStatus + TokensWithStatus []*OriginTrialTokenWithStatus + TrialName string + func (v *OriginTrial) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *OriginTrial) UnmarshalJSON(data []byte) error + func (v OriginTrial) MarshalEasyJSON(w *jwriter.Writer) + func (v OriginTrial) MarshalJSON() ([]byte, error) + type OriginTrialStatus string + const OriginTrialStatusEnabled + const OriginTrialStatusOSNotSupported + const OriginTrialStatusTrialNotAllowed + const OriginTrialStatusValidTokenNotProvided + func (t *OriginTrialStatus) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *OriginTrialStatus) UnmarshalJSON(buf []byte) error + func (t OriginTrialStatus) MarshalEasyJSON(out *jwriter.Writer) + func (t OriginTrialStatus) MarshalJSON() ([]byte, error) + func (t OriginTrialStatus) String() string + type OriginTrialToken struct + ExpiryTime *TimeSinceEpoch + IsThirdParty bool + MatchSubDomains bool + Origin string + TrialName string + UsageRestriction OriginTrialUsageRestriction + func (v *OriginTrialToken) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *OriginTrialToken) UnmarshalJSON(data []byte) error + func (v OriginTrialToken) MarshalEasyJSON(w *jwriter.Writer) + func (v OriginTrialToken) MarshalJSON() ([]byte, error) + type OriginTrialTokenStatus string + const OriginTrialTokenStatusExpired + const OriginTrialTokenStatusFeatureDisabled + const OriginTrialTokenStatusFeatureDisabledForUser + const OriginTrialTokenStatusInsecure + const OriginTrialTokenStatusInvalidSignature + const OriginTrialTokenStatusMalformed + const OriginTrialTokenStatusNotSupported + const OriginTrialTokenStatusSuccess + const OriginTrialTokenStatusTokenDisabled + const OriginTrialTokenStatusUnknownTrial + const OriginTrialTokenStatusWrongOrigin + const OriginTrialTokenStatusWrongVersion + func (t *OriginTrialTokenStatus) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *OriginTrialTokenStatus) UnmarshalJSON(buf []byte) error + func (t OriginTrialTokenStatus) MarshalEasyJSON(out *jwriter.Writer) + func (t OriginTrialTokenStatus) MarshalJSON() ([]byte, error) + func (t OriginTrialTokenStatus) String() string + type OriginTrialTokenWithStatus struct + ParsedToken *OriginTrialToken + RawTokenText string + Status OriginTrialTokenStatus + func (v *OriginTrialTokenWithStatus) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *OriginTrialTokenWithStatus) UnmarshalJSON(data []byte) error + func (v OriginTrialTokenWithStatus) MarshalEasyJSON(w *jwriter.Writer) + func (v OriginTrialTokenWithStatus) MarshalJSON() ([]byte, error) + type OriginTrialUsageRestriction string + const OriginTrialUsageRestrictionNone + const OriginTrialUsageRestrictionSubset + func (t *OriginTrialUsageRestriction) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *OriginTrialUsageRestriction) UnmarshalJSON(buf []byte) error + func (t OriginTrialUsageRestriction) MarshalEasyJSON(out *jwriter.Writer) + func (t OriginTrialUsageRestriction) MarshalJSON() ([]byte, error) + func (t OriginTrialUsageRestriction) String() string + type PseudoType string + const PseudoTypeAfter + const PseudoTypeBackdrop + const PseudoTypeBefore + const PseudoTypeFirstLetter + const PseudoTypeFirstLine + const PseudoTypeFirstLineInherited + const PseudoTypeGrammarError + const PseudoTypeHighlight + const PseudoTypeInputListButton + const PseudoTypeMarker + const PseudoTypeResizer + const PseudoTypeScrollMarker + const PseudoTypeScrollMarkerGroup + const PseudoTypeScrollbar + const PseudoTypeScrollbarButton + const PseudoTypeScrollbarCorner + const PseudoTypeScrollbarThumb + const PseudoTypeScrollbarTrack + const PseudoTypeScrollbarTrackPiece + const PseudoTypeSearchText + const PseudoTypeSelection + const PseudoTypeSpellingError + const PseudoTypeTargetText + const PseudoTypeViewTransition + const PseudoTypeViewTransitionGroup + const PseudoTypeViewTransitionImagePair + const PseudoTypeViewTransitionNew + const PseudoTypeViewTransitionOld + func (t *PseudoType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *PseudoType) UnmarshalJSON(buf []byte) error + func (t PseudoType) MarshalEasyJSON(out *jwriter.Writer) + func (t PseudoType) MarshalJSON() ([]byte, error) + func (t PseudoType) String() string + type RGBA struct + A float64 + B int64 + G int64 + R int64 + func (v *RGBA) UnmarshalEasyJSON(l *jlexer.Lexer) + func (v *RGBA) UnmarshalJSON(data []byte) error + func (v RGBA) MarshalEasyJSON(w *jwriter.Writer) + func (v RGBA) MarshalJSON() ([]byte, error) + type SecureContextType string + const SecureContextTypeInsecureAncestor + const SecureContextTypeInsecureScheme + const SecureContextTypeSecure + const SecureContextTypeSecureLocalhost + func (t *SecureContextType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *SecureContextType) UnmarshalJSON(buf []byte) error + func (t SecureContextType) MarshalEasyJSON(out *jwriter.Writer) + func (t SecureContextType) MarshalJSON() ([]byte, error) + func (t SecureContextType) String() string + type ShadowRootType string + const ShadowRootTypeClosed + const ShadowRootTypeOpen + const ShadowRootTypeUserAgent + func (t *ShadowRootType) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *ShadowRootType) UnmarshalJSON(buf []byte) error + func (t ShadowRootType) MarshalEasyJSON(out *jwriter.Writer) + func (t ShadowRootType) MarshalJSON() ([]byte, error) + func (t ShadowRootType) String() string + type TimeSinceEpoch time.Time + func (t *TimeSinceEpoch) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *TimeSinceEpoch) UnmarshalJSON(buf []byte) error + func (t TimeSinceEpoch) MarshalEasyJSON(out *jwriter.Writer) + func (t TimeSinceEpoch) MarshalJSON() ([]byte, error) + func (t TimeSinceEpoch) Time() time.Time + type TimeSinceEpochMilli time.Time + func (t *TimeSinceEpochMilli) UnmarshalEasyJSON(in *jlexer.Lexer) + func (t *TimeSinceEpochMilli) UnmarshalJSON(buf []byte) error + func (t TimeSinceEpochMilli) MarshalEasyJSON(out *jwriter.Writer) + func (t TimeSinceEpochMilli) MarshalJSON() ([]byte, error) + func (t TimeSinceEpochMilli) Time() time.Time