Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandCSSAddRule + const CommandCSSCollectClassNames + const CommandCSSCreateStyleSheet + const CommandCSSDisable + const CommandCSSEnable + const CommandCSSForcePseudoState + const CommandCSSGetBackgroundColors + const CommandCSSGetComputedStyleForNode + const CommandCSSGetInlineStylesForNode + const CommandCSSGetMatchedStylesForNode + const CommandCSSGetMediaQueries + const CommandCSSGetPlatformFontsForNode + const CommandCSSGetStyleSheetText + const CommandCSSSetEffectivePropertyValueForNode + const CommandCSSSetKeyframeKey + const CommandCSSSetMediaText + const CommandCSSSetRuleSelector + const CommandCSSSetStyleSheetText + const CommandCSSSetStyleTexts + const CommandCSSStartRuleUsageTracking + const CommandCSSStopRuleUsageTracking + const CommandCSSTakeCoverageDelta + const EventCSSFontsUpdated + const EventCSSMediaQueryResultChanged + const EventCSSStyleSheetAdded + const EventCSSStyleSheetChanged + const EventCSSStyleSheetRemoved + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type AddRuleArgs struct + Location SourceRange + RuleText string + StyleSheetID StyleSheetID + func (a *AddRuleArgs) MarshalJSON() ([]byte, error) + func (a *AddRuleArgs) UnmarshalJSON(b []byte) error + type AddRuleReply struct + Rule Rule + func (a *AddRuleReply) GetFrameID() string + func (a *AddRuleReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AddRuleReply) UnmarshalJSON(b []byte) error + type CollectClassNamesArgs struct + StyleSheetID StyleSheetID + func (a *CollectClassNamesArgs) MarshalJSON() ([]byte, error) + func (a *CollectClassNamesArgs) UnmarshalJSON(b []byte) error + type CollectClassNamesReply struct + ClassNames []string + func (a *CollectClassNamesReply) GetFrameID() string + func (a *CollectClassNamesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CollectClassNamesReply) UnmarshalJSON(b []byte) error + type ComputedStyleProperty struct + Name string + Value string + type CreateStyleSheetArgs struct + FrameID shared.FrameID + func (a *CreateStyleSheetArgs) MarshalJSON() ([]byte, error) + func (a *CreateStyleSheetArgs) UnmarshalJSON(b []byte) error + type CreateStyleSheetReply struct + StyleSheetID StyleSheetID + func (a *CreateStyleSheetReply) GetFrameID() string + func (a *CreateStyleSheetReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *CreateStyleSheetReply) UnmarshalJSON(b []byte) error + 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 FontFace struct + FontFamily string + FontStretch string + FontStyle string + FontVariant string + FontWeight string + PlatformFontFamily string + Src string + UnicodeRange string + type FontsUpdatedReply struct + Font *FontFace + func (a *FontsUpdatedReply) GetFrameID() string + func (a *FontsUpdatedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *FontsUpdatedReply) UnmarshalJSON(b []byte) error + type ForcePseudoStateArgs struct + ForcedPseudoClasses []string + NodeID dom.NodeID + func (a *ForcePseudoStateArgs) MarshalJSON() ([]byte, error) + func (a *ForcePseudoStateArgs) UnmarshalJSON(b []byte) error + type ForcePseudoStateReply struct + func (a *ForcePseudoStateReply) GetFrameID() string + func (a *ForcePseudoStateReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ForcePseudoStateReply) UnmarshalJSON(b []byte) error + type GetBackgroundColorsArgs struct + NodeID dom.NodeID + func (a *GetBackgroundColorsArgs) MarshalJSON() ([]byte, error) + func (a *GetBackgroundColorsArgs) UnmarshalJSON(b []byte) error + type GetBackgroundColorsReply struct + BackgroundColors *[]string + ComputedFontSize string + ComputedFontWeight string + func (a *GetBackgroundColorsReply) GetFrameID() string + func (a *GetBackgroundColorsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetBackgroundColorsReply) UnmarshalJSON(b []byte) error + type GetComputedStyleForNodeArgs struct + NodeID dom.NodeID + func (a *GetComputedStyleForNodeArgs) MarshalJSON() ([]byte, error) + func (a *GetComputedStyleForNodeArgs) UnmarshalJSON(b []byte) error + type GetComputedStyleForNodeReply struct + ComputedStyle []ComputedStyleProperty + func (a *GetComputedStyleForNodeReply) GetFrameID() string + func (a *GetComputedStyleForNodeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetComputedStyleForNodeReply) UnmarshalJSON(b []byte) error + type GetInlineStylesForNodeArgs struct + NodeID dom.NodeID + func (a *GetInlineStylesForNodeArgs) MarshalJSON() ([]byte, error) + func (a *GetInlineStylesForNodeArgs) UnmarshalJSON(b []byte) error + type GetInlineStylesForNodeReply struct + AttributesStyle *Style + InlineStyle *Style + func (a *GetInlineStylesForNodeReply) GetFrameID() string + func (a *GetInlineStylesForNodeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetInlineStylesForNodeReply) UnmarshalJSON(b []byte) error + type GetMatchedStylesForNodeArgs struct + NodeID dom.NodeID + func (a *GetMatchedStylesForNodeArgs) MarshalJSON() ([]byte, error) + func (a *GetMatchedStylesForNodeArgs) UnmarshalJSON(b []byte) error + type GetMatchedStylesForNodeReply struct + AttributesStyle *Style + CSSKeyframesRules *[]KeyframesRule + Inherited *[]InheritedStyleEntry + InlineStyle *Style + MatchedCSSRules *[]RuleMatch + PseudoElements *[]PseudoElementMatches + func (a *GetMatchedStylesForNodeReply) GetFrameID() string + func (a *GetMatchedStylesForNodeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetMatchedStylesForNodeReply) UnmarshalJSON(b []byte) error + type GetMediaQueriesArgs struct + func (a *GetMediaQueriesArgs) MarshalJSON() ([]byte, error) + func (a *GetMediaQueriesArgs) UnmarshalJSON(b []byte) error + type GetMediaQueriesReply struct + Medias []Media + func (a *GetMediaQueriesReply) GetFrameID() string + func (a *GetMediaQueriesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetMediaQueriesReply) UnmarshalJSON(b []byte) error + type GetPlatformFontsForNodeArgs struct + NodeID dom.NodeID + func (a *GetPlatformFontsForNodeArgs) MarshalJSON() ([]byte, error) + func (a *GetPlatformFontsForNodeArgs) UnmarshalJSON(b []byte) error + type GetPlatformFontsForNodeReply struct + Fonts []PlatformFontUsage + func (a *GetPlatformFontsForNodeReply) GetFrameID() string + func (a *GetPlatformFontsForNodeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetPlatformFontsForNodeReply) UnmarshalJSON(b []byte) error + type GetStyleSheetTextArgs struct + StyleSheetID StyleSheetID + func (a *GetStyleSheetTextArgs) MarshalJSON() ([]byte, error) + func (a *GetStyleSheetTextArgs) UnmarshalJSON(b []byte) error + type GetStyleSheetTextReply struct + Text string + func (a *GetStyleSheetTextReply) GetFrameID() string + func (a *GetStyleSheetTextReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetStyleSheetTextReply) UnmarshalJSON(b []byte) error + type InheritedStyleEntry struct + InlineStyle *Style + MatchedCSSRules []RuleMatch + type KeyframeRule struct + KeyText Value + Origin StyleSheetOrigin + Style Style + StyleSheetID StyleSheetID + type KeyframesRule struct + AnimationName Value + Keyframes []KeyframeRule + type Media struct + MediaList *[]MediaQuery + Range *SourceRange + Source string + SourceURL string + StyleSheetID StyleSheetID + Text string + type MediaQuery struct + Active bool + Expressions []MediaQueryExpression + type MediaQueryExpression struct + ComputedLength float64 + Feature string + Unit string + Value float64 + ValueRange *SourceRange + type MediaQueryResultChangedReply struct + func (a *MediaQueryResultChangedReply) GetFrameID() string + func (a *MediaQueryResultChangedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *MediaQueryResultChangedReply) UnmarshalJSON(b []byte) error + type PlatformFontUsage struct + FamilyName string + GlyphCount float64 + IsCustomFont bool + type Property struct + Disabled bool + Implicit bool + Important bool + Name string + ParsedOk bool + Range *SourceRange + Text string + Value string + type PseudoElementMatches struct + Matches []RuleMatch + PseudoType dom.PseudoType + type Rule struct + Media *[]Media + Origin StyleSheetOrigin + SelectorList SelectorList + Style Style + StyleSheetID StyleSheetID + type RuleMatch struct + MatchingSelectors []int + Rule Rule + type RuleUsage struct + EndOffset float64 + StartOffset float64 + StyleSheetID StyleSheetID + Used bool + type SelectorList struct + Selectors []Value + Text string + type SetEffectivePropertyValueForNodeArgs struct + NodeID dom.NodeID + PropertyName string + Value string + func (a *SetEffectivePropertyValueForNodeArgs) MarshalJSON() ([]byte, error) + func (a *SetEffectivePropertyValueForNodeArgs) UnmarshalJSON(b []byte) error + type SetEffectivePropertyValueForNodeReply struct + func (a *SetEffectivePropertyValueForNodeReply) GetFrameID() string + func (a *SetEffectivePropertyValueForNodeReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetEffectivePropertyValueForNodeReply) UnmarshalJSON(b []byte) error + type SetKeyframeKeyArgs struct + KeyText string + Range SourceRange + StyleSheetID StyleSheetID + func (a *SetKeyframeKeyArgs) MarshalJSON() ([]byte, error) + func (a *SetKeyframeKeyArgs) UnmarshalJSON(b []byte) error + type SetKeyframeKeyReply struct + KeyText Value + func (a *SetKeyframeKeyReply) GetFrameID() string + func (a *SetKeyframeKeyReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetKeyframeKeyReply) UnmarshalJSON(b []byte) error + type SetMediaTextArgs struct + Range SourceRange + StyleSheetID StyleSheetID + Text string + func (a *SetMediaTextArgs) MarshalJSON() ([]byte, error) + func (a *SetMediaTextArgs) UnmarshalJSON(b []byte) error + type SetMediaTextReply struct + Media Media + func (a *SetMediaTextReply) GetFrameID() string + func (a *SetMediaTextReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetMediaTextReply) UnmarshalJSON(b []byte) error + type SetRuleSelectorArgs struct + Range SourceRange + Selector string + StyleSheetID StyleSheetID + func (a *SetRuleSelectorArgs) MarshalJSON() ([]byte, error) + func (a *SetRuleSelectorArgs) UnmarshalJSON(b []byte) error + type SetRuleSelectorReply struct + SelectorList SelectorList + func (a *SetRuleSelectorReply) GetFrameID() string + func (a *SetRuleSelectorReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetRuleSelectorReply) UnmarshalJSON(b []byte) error + type SetStyleSheetTextArgs struct + StyleSheetID StyleSheetID + Text string + func (a *SetStyleSheetTextArgs) MarshalJSON() ([]byte, error) + func (a *SetStyleSheetTextArgs) UnmarshalJSON(b []byte) error + type SetStyleSheetTextReply struct + SourceMapURL string + func (a *SetStyleSheetTextReply) GetFrameID() string + func (a *SetStyleSheetTextReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetStyleSheetTextReply) UnmarshalJSON(b []byte) error + type SetStyleTextsArgs struct + Edits []StyleDeclarationEdit + func (a *SetStyleTextsArgs) MarshalJSON() ([]byte, error) + func (a *SetStyleTextsArgs) UnmarshalJSON(b []byte) error + type SetStyleTextsReply struct + Styles []Style + func (a *SetStyleTextsReply) GetFrameID() string + func (a *SetStyleTextsReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetStyleTextsReply) UnmarshalJSON(b []byte) error + type ShorthandEntry struct + Important bool + Name string + Value string + type SourceRange struct + EndColumn int + EndLine int + StartColumn int + StartLine int + type StartRuleUsageTrackingArgs struct + func (a *StartRuleUsageTrackingArgs) MarshalJSON() ([]byte, error) + func (a *StartRuleUsageTrackingArgs) UnmarshalJSON(b []byte) error + type StartRuleUsageTrackingReply struct + func (a *StartRuleUsageTrackingReply) GetFrameID() string + func (a *StartRuleUsageTrackingReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StartRuleUsageTrackingReply) UnmarshalJSON(b []byte) error + type StopRuleUsageTrackingArgs struct + func (a *StopRuleUsageTrackingArgs) MarshalJSON() ([]byte, error) + func (a *StopRuleUsageTrackingArgs) UnmarshalJSON(b []byte) error + type StopRuleUsageTrackingReply struct + RuleUsage []RuleUsage + func (a *StopRuleUsageTrackingReply) GetFrameID() string + func (a *StopRuleUsageTrackingReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StopRuleUsageTrackingReply) UnmarshalJSON(b []byte) error + type Style struct + CSSProperties []Property + CSSText string + Range *SourceRange + ShorthandEntries []ShorthandEntry + StyleSheetID StyleSheetID + type StyleDeclarationEdit struct + Range SourceRange + StyleSheetID StyleSheetID + Text string + type StyleSheetAddedReply struct + Header StyleSheetHeader + func (a *StyleSheetAddedReply) GetFrameID() string + func (a *StyleSheetAddedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StyleSheetAddedReply) UnmarshalJSON(b []byte) error + type StyleSheetChangedReply struct + StyleSheetID StyleSheetID + func (a *StyleSheetChangedReply) GetFrameID() string + func (a *StyleSheetChangedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StyleSheetChangedReply) UnmarshalJSON(b []byte) error + type StyleSheetHeader struct + Disabled bool + EndColumn float64 + EndLine float64 + FrameID shared.FrameID + HasSourceURL bool + IsInline bool + Length float64 + Origin StyleSheetOrigin + OwnerNode dom.BackendNodeID + SourceMapURL string + SourceURL string + StartColumn float64 + StartLine float64 + StyleSheetID StyleSheetID + Title string + type StyleSheetID string + type StyleSheetOrigin string + const StyleSheetOriginInjected + const StyleSheetOriginInspector + const StyleSheetOriginNotSet + const StyleSheetOriginRegular + const StyleSheetOriginUserAgent + func (e StyleSheetOrigin) String() string + func (e StyleSheetOrigin) Valid() bool + type StyleSheetRemovedReply struct + StyleSheetID StyleSheetID + func (a *StyleSheetRemovedReply) GetFrameID() string + func (a *StyleSheetRemovedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StyleSheetRemovedReply) UnmarshalJSON(b []byte) error + type TakeCoverageDeltaArgs struct + func (a *TakeCoverageDeltaArgs) MarshalJSON() ([]byte, error) + func (a *TakeCoverageDeltaArgs) UnmarshalJSON(b []byte) error + type TakeCoverageDeltaReply struct + Coverage []RuleUsage + Timestamp float64 + func (a *TakeCoverageDeltaReply) GetFrameID() string + func (a *TakeCoverageDeltaReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *TakeCoverageDeltaReply) UnmarshalJSON(b []byte) error + type Unmarshaler func() json.Unmarshaler + type Value struct + Range *SourceRange + Text string