Uses of Class
org.openqa.selenium.devtools.css.model.StyleSheetId
-
Packages that use StyleSheetId Package Description org.openqa.selenium.devtools.css org.openqa.selenium.devtools.css.model -
-
Uses of StyleSheetId in org.openqa.selenium.devtools.css
Methods in org.openqa.selenium.devtools.css that return types with arguments of type StyleSheetId Modifier and Type Method Description static Command<StyleSheetId>
CSS. createStyleSheet(FrameId frameId)
Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.static Event<StyleSheetId>
CSS. styleSheetChanged()
static Event<StyleSheetId>
CSS. styleSheetRemoved()
Methods in org.openqa.selenium.devtools.css with parameters of type StyleSheetId Modifier and Type Method Description static Command<CSSRule>
CSS. addRule(StyleSheetId styleSheetId, java.lang.String ruleText, SourceRange location)
Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the position specified by `location`.static Command<java.util.List<java.lang.String>>
CSS. collectClassNames(StyleSheetId styleSheetId)
Returns all class names from specified stylesheet.static Command<java.lang.String>
CSS. getStyleSheetText(StyleSheetId styleSheetId)
Returns the current textual content for a stylesheet.static Command<Value>
CSS. setKeyframeKey(StyleSheetId styleSheetId, SourceRange range, java.lang.String keyText)
Modifies the keyframe rule key text.static Command<CSSMedia>
CSS. setMediaText(StyleSheetId styleSheetId, SourceRange range, java.lang.String text)
Modifies the rule selector.static Command<SelectorList>
CSS. setRuleSelector(StyleSheetId styleSheetId, SourceRange range, java.lang.String selector)
Modifies the rule selector.static Command<java.lang.String>
CSS. setStyleSheetText(StyleSheetId styleSheetId, java.lang.String text)
Sets the new stylesheet text. -
Uses of StyleSheetId in org.openqa.selenium.devtools.css.model
Methods in org.openqa.selenium.devtools.css.model that return StyleSheetId Modifier and Type Method Description StyleSheetId
CSSStyleSheetHeader. getStyleSheetId()
The stylesheet identifier.StyleSheetId
RuleUsage. getStyleSheetId()
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.StyleSheetId
StyleDeclarationEdit. getStyleSheetId()
The css style sheet identifier.Methods in org.openqa.selenium.devtools.css.model that return types with arguments of type StyleSheetId Modifier and Type Method Description java.util.Optional<StyleSheetId>
CSSKeyframeRule. getStyleSheetId()
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.java.util.Optional<StyleSheetId>
CSSMedia. getStyleSheetId()
Identifier of the stylesheet containing this object (if exists).java.util.Optional<StyleSheetId>
CSSRule. getStyleSheetId()
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.java.util.Optional<StyleSheetId>
CSSStyle. getStyleSheetId()
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.Constructors in org.openqa.selenium.devtools.css.model with parameters of type StyleSheetId Constructor Description CSSStyleSheetHeader(StyleSheetId styleSheetId, FrameId frameId, java.lang.String sourceURL, java.util.Optional<java.lang.String> sourceMapURL, StyleSheetOrigin origin, java.lang.String title, java.util.Optional<BackendNodeId> ownerNode, java.lang.Boolean disabled, java.util.Optional<java.lang.Boolean> hasSourceURL, java.lang.Boolean isInline, java.lang.Number startLine, java.lang.Number startColumn, java.lang.Number length, java.lang.Number endLine, java.lang.Number endColumn)
RuleUsage(StyleSheetId styleSheetId, java.lang.Number startOffset, java.lang.Number endOffset, java.lang.Boolean used)
StyleDeclarationEdit(StyleSheetId styleSheetId, SourceRange range, java.lang.String text)
Constructor parameters in org.openqa.selenium.devtools.css.model with type arguments of type StyleSheetId Constructor Description CSSKeyframeRule(java.util.Optional<StyleSheetId> styleSheetId, StyleSheetOrigin origin, Value keyText, CSSStyle style)
CSSRule(java.util.Optional<StyleSheetId> styleSheetId, SelectorList selectorList, StyleSheetOrigin origin, CSSStyle style, java.util.Optional<java.util.List<CSSMedia>> media)
CSSStyle(java.util.Optional<StyleSheetId> styleSheetId, java.util.List<CSSProperty> cssProperties, java.util.List<ShorthandEntry> shorthandEntries, java.util.Optional<java.lang.String> cssText, java.util.Optional<SourceRange> range)
-