Uses of Class
org.openqa.selenium.devtools.css.model.SourceRange
-
Packages that use SourceRange Package Description org.openqa.selenium.devtools.css org.openqa.selenium.devtools.css.model -
-
Uses of SourceRange in org.openqa.selenium.devtools.css
Methods in org.openqa.selenium.devtools.css with parameters of type SourceRange 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<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. -
Uses of SourceRange in org.openqa.selenium.devtools.css.model
Methods in org.openqa.selenium.devtools.css.model that return SourceRange Modifier and Type Method Description SourceRange
CSSMedia. getRange()
The associated rule (@media or @import) header range in the enclosing stylesheet (if available).SourceRange
CSSProperty. getRange()
The entire property range in the enclosing style declaration (if available).SourceRange
CSSStyle. getRange()
Style declaration range in the enclosing stylesheet (if available).SourceRange
StyleDeclarationEdit. getRange()
The range of the style text in the enclosing stylesheet.SourceRange
Value. getRange()
Value range in the underlying resource (if available).SourceRange
MediaQueryExpression. getValueRange()
The associated range of the value text in the enclosing stylesheet (if available).Constructors in org.openqa.selenium.devtools.css.model with parameters of type SourceRange Constructor Description CSSMedia(java.lang.String text, CSSMedia.Source source, java.lang.String sourceURL, SourceRange range, StyleSheetId styleSheetId, java.util.List<MediaQuery> mediaList)
CSSProperty(java.lang.String name, java.lang.String value, java.lang.Boolean important, java.lang.Boolean implicit, java.lang.String text, java.lang.Boolean parsedOk, java.lang.Boolean disabled, SourceRange range)
CSSStyle(StyleSheetId styleSheetId, java.util.List<CSSProperty> cssProperties, java.util.List<ShorthandEntry> shorthandEntries, java.lang.String cssText, SourceRange range)
MediaQueryExpression(java.lang.Number value, java.lang.String unit, java.lang.String feature, SourceRange valueRange, java.lang.Number computedLength)
StyleDeclarationEdit(StyleSheetId styleSheetId, SourceRange range, java.lang.String text)
Value(java.lang.String text, SourceRange range)
-