Table of Contents

Class HighlightConfig

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

Configuration data for the highlighting of page elements.

public sealed class HighlightConfig
Inheritance
HighlightConfig
Inherited Members

Properties

BorderColor

The border highlight fill color (default: transparent).

[JsonPropertyName("borderColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? BorderColor { get; set; }

Property Value

RGBA

ColorFormat

The color format used to format color styles (default: hex).

[JsonPropertyName("colorFormat")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ColorFormat? ColorFormat { get; set; }

Property Value

ColorFormat?

ContainerQueryContainerHighlightConfig

The container query container highlight configuration (default: all transparent).

[JsonPropertyName("containerQueryContainerHighlightConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ContainerQueryContainerHighlightConfig? ContainerQueryContainerHighlightConfig { get; set; }

Property Value

ContainerQueryContainerHighlightConfig

ContentColor

The content box highlight fill color (default: transparent).

[JsonPropertyName("contentColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? ContentColor { get; set; }

Property Value

RGBA

ContrastAlgorithm

The contrast algorithm to use for the contrast ratio (default: aa).

[JsonPropertyName("contrastAlgorithm")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public ContrastAlgorithm? ContrastAlgorithm { get; set; }

Property Value

ContrastAlgorithm?

CssGridColor

The grid layout color (default: transparent).

[JsonPropertyName("cssGridColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? CssGridColor { get; set; }

Property Value

RGBA

EventTargetColor

The event target element highlight fill color (default: transparent).

[JsonPropertyName("eventTargetColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? EventTargetColor { get; set; }

Property Value

RGBA

FlexContainerHighlightConfig

The flex container highlight configuration (default: all transparent).

[JsonPropertyName("flexContainerHighlightConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public FlexContainerHighlightConfig? FlexContainerHighlightConfig { get; set; }

Property Value

FlexContainerHighlightConfig

FlexItemHighlightConfig

The flex item highlight configuration (default: all transparent).

[JsonPropertyName("flexItemHighlightConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public FlexItemHighlightConfig? FlexItemHighlightConfig { get; set; }

Property Value

FlexItemHighlightConfig

GridHighlightConfig

The grid layout highlight configuration (default: all transparent).

[JsonPropertyName("gridHighlightConfig")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public GridHighlightConfig? GridHighlightConfig { get; set; }

Property Value

GridHighlightConfig

MarginColor

The margin highlight fill color (default: transparent).

[JsonPropertyName("marginColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? MarginColor { get; set; }

Property Value

RGBA

PaddingColor

The padding highlight fill color (default: transparent).

[JsonPropertyName("paddingColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? PaddingColor { get; set; }

Property Value

RGBA

ShapeColor

The shape outside fill color (default: transparent).

[JsonPropertyName("shapeColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? ShapeColor { get; set; }

Property Value

RGBA

ShapeMarginColor

The shape margin fill color (default: transparent).

[JsonPropertyName("shapeMarginColor")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public RGBA? ShapeMarginColor { get; set; }

Property Value

RGBA

ShowAccessibilityInfo

Whether the a11y info should be shown (default: true).

[JsonPropertyName("showAccessibilityInfo")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? ShowAccessibilityInfo { get; set; }

Property Value

bool?

ShowExtensionLines

Whether the extension lines from node to the rulers should be shown (default: false).

[JsonPropertyName("showExtensionLines")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? ShowExtensionLines { get; set; }

Property Value

bool?

ShowInfo

Whether the node info tooltip should be shown (default: false).

[JsonPropertyName("showInfo")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? ShowInfo { get; set; }

Property Value

bool?

ShowRulers

Whether the rulers should be shown (default: false).

[JsonPropertyName("showRulers")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? ShowRulers { get; set; }

Property Value

bool?

ShowStyles

Whether the node styles in the tooltip (default: false).

[JsonPropertyName("showStyles")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool? ShowStyles { get; set; }

Property Value

bool?