Class MediaQueryExpression

java.lang.Object
org.openqa.selenium.devtools.v121.css.model.MediaQueryExpression

public class MediaQueryExpression extends Object
Media query expression descriptor.
  • Constructor Details

  • Method Details

    • getValue

      public Number getValue()
      Media query expression value.
    • getUnit

      public String getUnit()
      Media query expression units.
    • getFeature

      public String getFeature()
      Media query expression feature.
    • getValueRange

      public Optional<SourceRange> getValueRange()
      The associated range of the value text in the enclosing stylesheet (if available).
    • getComputedLength

      public Optional<Number> getComputedLength()
      Computed length of media query expression (if applicable).