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
StyleDeclarationEdit. getRange()
The range of the style text in the enclosing stylesheet.Methods in org.openqa.selenium.devtools.css.model that return types with arguments of type SourceRange Modifier and Type Method Description java.util.Optional<SourceRange>
CSSMedia. getRange()
The associated rule (@media or @import) header range in the enclosing stylesheet (if available).java.util.Optional<SourceRange>
CSSProperty. getRange()
The entire property range in the enclosing style declaration (if available).java.util.Optional<SourceRange>
CSSStyle. getRange()
Style declaration range in the enclosing stylesheet (if available).java.util.Optional<SourceRange>
Value. getRange()
Value range in the underlying resource (if available).java.util.Optional<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 StyleDeclarationEdit(StyleSheetId styleSheetId, SourceRange range, java.lang.String text)
Constructor parameters in org.openqa.selenium.devtools.css.model with type arguments of type SourceRange Constructor Description MediaQueryExpression(java.lang.Number value, java.lang.String unit, java.lang.String feature, java.util.Optional<SourceRange> valueRange, java.util.Optional<java.lang.Number> computedLength)
Value(java.lang.String text, java.util.Optional<SourceRange> range)
-