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