Class CSSStyle
java.lang.Object
org.openqa.selenium.devtools.v120.css.model.CSSStyle
CSS style representation.
-
Constructor Summary
ConstructorsConstructorDescriptionCSSStyle
(Optional<StyleSheetId> styleSheetId, List<CSSProperty> cssProperties, List<ShorthandEntry> shorthandEntries, Optional<String> cssText, Optional<SourceRange> range) -
Method Summary
Modifier and TypeMethodDescriptionCSS properties in the style.Style declaration text (if available).getRange()
Style declaration range in the enclosing stylesheet (if available).Computed values for all shorthands found in the style.The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
-
Constructor Details
-
CSSStyle
public CSSStyle(Optional<StyleSheetId> styleSheetId, List<CSSProperty> cssProperties, List<ShorthandEntry> shorthandEntries, Optional<String> cssText, Optional<SourceRange> range)
-
-
Method Details
-
getStyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from. -
getCssProperties
CSS properties in the style. -
getShorthandEntries
Computed values for all shorthands found in the style. -
getCssText
Style declaration text (if available). -
getRange
Style declaration range in the enclosing stylesheet (if available).
-