Class CSSStyleSheetHeader

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

public class CSSStyleSheetHeader extends Object
CSS stylesheet metainformation.
  • Constructor Details

  • Method Details

    • getStyleSheetId

      public StyleSheetId getStyleSheetId()
      The stylesheet identifier.
    • getFrameId

      public FrameId getFrameId()
      Owner frame identifier.
    • getSourceURL

      public String getSourceURL()
      Stylesheet resource URL.
    • getSourceMapURL

      public Optional<String> getSourceMapURL()
      URL of source map associated with the stylesheet (if any).
    • getOrigin

      public StyleSheetOrigin getOrigin()
      Stylesheet origin.
    • getTitle

      public String getTitle()
      Stylesheet title.
    • getOwnerNode

      public Optional<BackendNodeId> getOwnerNode()
      The backend id for the owner node of the stylesheet.
    • getDisabled

      public Boolean getDisabled()
      Denotes whether the stylesheet is disabled.
    • getHasSourceURL

      public Optional<Boolean> getHasSourceURL()
      Whether the sourceURL field value comes from the sourceURL comment.
    • getIsInline

      public Boolean getIsInline()
      Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags.
    • getIsMutable

      public Boolean getIsMutable()
      Whether this stylesheet is mutable. Inline stylesheets become mutable after they have been modified via CSSOM API. element's stylesheets are never mutable. Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
    • getStartLine

      public Number getStartLine()
      Line offset of the stylesheet within the resource (zero based).
    • getStartColumn

      public Number getStartColumn()
      Column offset of the stylesheet within the resource (zero based).
    • getLength

      public Number getLength()
      Size of the content (in characters).
    • getEndLine

      public Number getEndLine()
      Line offset of the end of the stylesheet within the resource (zero based).
    • getEndColumn

      public Number getEndColumn()
      Column offset of the end of the stylesheet within the resource (zero based).