Table of Contents

Class GetBackgroundColorsCommandResponse

Namespace
OpenQA.Selenium.DevTools.V148.CSS
Assembly
Selenium.WebDriver.dll

Response for GetBackgroundColors

public sealed class GetBackgroundColorsCommandResponse : ICommandResponse<GetBackgroundColorsCommandSettings>, ICommandResponse
Inheritance
GetBackgroundColorsCommandResponse
Implements
Inherited Members
Extension Methods

Properties

BackgroundColors

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).

[JsonPropertyName("backgroundColors")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string[]? BackgroundColors { get; set; }

Property Value

string[]

ComputedFontSize

The computed font size for this node, as a CSS computed value string (e.g. '12px').

[JsonPropertyName("computedFontSize")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ComputedFontSize { get; set; }

Property Value

string

ComputedFontWeight

The computed font weight for this node, as a CSS computed value string (e.g. 'normal' or '100').

[JsonPropertyName("computedFontWeight")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? ComputedFontWeight { get; set; }

Property Value

string