Class CSSStyleSheetHeader
java.lang.Object
org.openqa.selenium.devtools.v85.css.model.CSSStyleSheetHeader
CSS stylesheet metainformation.
-
Constructor Summary
ConstructorDescriptionCSSStyleSheetHeader
(StyleSheetId styleSheetId, FrameId frameId, String sourceURL, Optional<String> sourceMapURL, StyleSheetOrigin origin, String title, Optional<BackendNodeId> ownerNode, Boolean disabled, Optional<Boolean> hasSourceURL, Boolean isInline, Boolean isMutable, Number startLine, Number startColumn, Number length, Number endLine, Number endColumn) -
Method Summary
Modifier and TypeMethodDescriptionDenotes whether the stylesheet is disabled.Column offset of the end of the stylesheet within the resource (zero based).Line offset of the end of the stylesheet within the resource (zero based).Owner frame identifier.Whether the sourceURL field value comes from the sourceURL comment.Whether this stylesheet is created for STYLE tag by parser.Whether this stylesheet is mutable.Size of the content (in characters).Stylesheet origin.The backend id for the owner node of the stylesheet.URL of source map associated with the stylesheet (if any).Stylesheet resource URL.Column offset of the stylesheet within the resource (zero based).Line offset of the stylesheet within the resource (zero based).The stylesheet identifier.getTitle()
Stylesheet title.
-
Constructor Details
-
CSSStyleSheetHeader
public CSSStyleSheetHeader(StyleSheetId styleSheetId, FrameId frameId, String sourceURL, Optional<String> sourceMapURL, StyleSheetOrigin origin, String title, Optional<BackendNodeId> ownerNode, Boolean disabled, Optional<Boolean> hasSourceURL, Boolean isInline, Boolean isMutable, Number startLine, Number startColumn, Number length, Number endLine, Number endColumn)
-
-
Method Details
-
getStyleSheetId
The stylesheet identifier. -
getFrameId
Owner frame identifier. -
getSourceURL
Stylesheet resource URL. -
getSourceMapURL
URL of source map associated with the stylesheet (if any). -
getOrigin
Stylesheet origin. -
getTitle
Stylesheet title. -
getOwnerNode
The backend id for the owner node of the stylesheet. -
getDisabled
Denotes whether the stylesheet is disabled. -
getHasSourceURL
Whether the sourceURL field value comes from the sourceURL comment. -
getIsInline
Whether this stylesheet is created for STYLE tag by parser. This flag is not set for document.written STYLE tags. -
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
Line offset of the stylesheet within the resource (zero based). -
getStartColumn
Column offset of the stylesheet within the resource (zero based). -
getLength
Size of the content (in characters). -
getEndLine
Line offset of the end of the stylesheet within the resource (zero based). -
getEndColumn
Column offset of the end of the stylesheet within the resource (zero based).
-