Class CSS.GetBackgroundColorsResponse
- java.lang.Object
-
- org.openqa.selenium.devtools.v85.css.CSS.GetBackgroundColorsResponse
-
- Enclosing class:
- CSS
public static class CSS.GetBackgroundColorsResponse extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GetBackgroundColorsResponse(java.util.Optional<java.util.List<java.lang.String>> backgroundColors, java.util.Optional<java.lang.String> computedFontSize, java.util.Optional<java.lang.String> computedFontWeight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.util.List<java.lang.String>>
getBackgroundColors()
The range of background colors behind this element, if it contains any visible text.java.util.Optional<java.lang.String>
getComputedFontSize()
The computed font size for this node, as a CSS computed value string (e.g.java.util.Optional<java.lang.String>
getComputedFontWeight()
The computed font weight for this node, as a CSS computed value string (e.g.
-
-
-
Method Detail
-
getBackgroundColors
public java.util.Optional<java.util.List<java.lang.String>> getBackgroundColors()
The range of background colors behind this element, if it contains any visible text. If no visible text is present, this will be undefined. In the case of a flat background color, this will consist of simply that color. In the case of a gradient, this will consist of each of the color stops. For anything more complicated, this will be an empty array. Images will be ignored (as if the image had failed to load).
-
getComputedFontSize
public java.util.Optional<java.lang.String> getComputedFontSize()
The computed font size for this node, as a CSS computed value string (e.g. '12px').
-
getComputedFontWeight
public java.util.Optional<java.lang.String> getComputedFontWeight()
The computed font weight for this node, as a CSS computed value string (e.g. 'normal' or '100').
-
-