Class CSSProperty

java.lang.Object
org.openqa.selenium.devtools.v85.css.model.CSSProperty

public class CSSProperty extends Object
CSS property declaration data.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      The property name.
    • getValue

      public String getValue()
      The property value.
    • getImportant

      public Optional<Boolean> getImportant()
      Whether the property has "!important" annotation (implies `false` if absent).
    • getImplicit

      public Optional<Boolean> getImplicit()
      Whether the property is implicit (implies `false` if absent).
    • getText

      public Optional<String> getText()
      The full property text as specified in the style.
    • getParsedOk

      public Optional<Boolean> getParsedOk()
      Whether the property is understood by the browser (implies `true` if absent).
    • getDisabled

      public Optional<Boolean> getDisabled()
      Whether the property is disabled by the user (present for source-based properties only).
    • getRange

      public Optional<SourceRange> getRange()
      The entire property range in the enclosing style declaration (if available).