Package org.openqa.selenium.devtools.css
Class CSS.GetMatchedStylesForNodeResponse
- java.lang.Object
-
- org.openqa.selenium.devtools.css.CSS.GetMatchedStylesForNodeResponse
-
- Enclosing class:
- CSS
public static class CSS.GetMatchedStylesForNodeResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GetMatchedStylesForNodeResponse(CSSStyle inlineStyle, CSSStyle attributesStyle, java.util.List<RuleMatch> matchedCSSRules, java.util.List<PseudoElementMatches> pseudoElements, java.util.List<InheritedStyleEntry> inherited, java.util.List<CSSKeyframesRule> cssKeyframesRules)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CSSStylegetAttributesStyle()Attribute-defined element style (e.g.java.util.List<CSSKeyframesRule>getCssKeyframesRules()A list of CSS keyframed animations matching this node.java.util.List<InheritedStyleEntry>getInherited()A chain of inherited styles (from the immediate node parent up to the DOM tree root).CSSStylegetInlineStyle()Inline style for the specified DOM node.java.util.List<RuleMatch>getMatchedCSSRules()CSS rules matching this node, from all applicable stylesheets.java.util.List<PseudoElementMatches>getPseudoElements()Pseudo style matches for this node.
-
-
-
Constructor Detail
-
GetMatchedStylesForNodeResponse
public GetMatchedStylesForNodeResponse(CSSStyle inlineStyle, CSSStyle attributesStyle, java.util.List<RuleMatch> matchedCSSRules, java.util.List<PseudoElementMatches> pseudoElements, java.util.List<InheritedStyleEntry> inherited, java.util.List<CSSKeyframesRule> cssKeyframesRules)
-
-
Method Detail
-
getInlineStyle
public CSSStyle getInlineStyle()
Inline style for the specified DOM node.
-
getAttributesStyle
public CSSStyle getAttributesStyle()
Attribute-defined element style (e.g. resulting from "width=20 height=100%").
-
getMatchedCSSRules
public java.util.List<RuleMatch> getMatchedCSSRules()
CSS rules matching this node, from all applicable stylesheets.
-
getPseudoElements
public java.util.List<PseudoElementMatches> getPseudoElements()
Pseudo style matches for this node.
-
getInherited
public java.util.List<InheritedStyleEntry> getInherited()
A chain of inherited styles (from the immediate node parent up to the DOM tree root).
-
getCssKeyframesRules
public java.util.List<CSSKeyframesRule> getCssKeyframesRules()
A list of CSS keyframed animations matching this node.
-
-