Table of Contents

Class HighlightConfig

Namespace
Selenium.WebDriver.BiDi.Cdp.Overlay
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Configuration data for the highlighting of page elements.

public sealed record HighlightConfig : IEquatable<HighlightConfig>
Inheritance
HighlightConfig
Implements
Inherited Members

Constructors

HighlightConfig()

Configuration data for the highlighting of page elements.

public HighlightConfig()

Properties

BorderColor

The border highlight fill color (default: transparent).

public RGBA? BorderColor { get; init; }

Property Value

RGBA

ColorFormat

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

public ColorFormat? ColorFormat { get; init; }

Property Value

ColorFormat?

ContainerQueryContainerHighlightConfig

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

public ContainerQueryContainerHighlightConfig? ContainerQueryContainerHighlightConfig { get; init; }

Property Value

ContainerQueryContainerHighlightConfig

ContentColor

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

public RGBA? ContentColor { get; init; }

Property Value

RGBA

ContrastAlgorithm

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

public ContrastAlgorithm? ContrastAlgorithm { get; init; }

Property Value

ContrastAlgorithm?

CssGridColor

The grid layout color (default: transparent).

public RGBA? CssGridColor { get; init; }

Property Value

RGBA

EventTargetColor

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

public RGBA? EventTargetColor { get; init; }

Property Value

RGBA

FlexContainerHighlightConfig

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

public FlexContainerHighlightConfig? FlexContainerHighlightConfig { get; init; }

Property Value

FlexContainerHighlightConfig

FlexItemHighlightConfig

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

public FlexItemHighlightConfig? FlexItemHighlightConfig { get; init; }

Property Value

FlexItemHighlightConfig

GridHighlightConfig

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

public GridHighlightConfig? GridHighlightConfig { get; init; }

Property Value

GridHighlightConfig

MarginColor

The margin highlight fill color (default: transparent).

public RGBA? MarginColor { get; init; }

Property Value

RGBA

PaddingColor

The padding highlight fill color (default: transparent).

public RGBA? PaddingColor { get; init; }

Property Value

RGBA

ShapeColor

The shape outside fill color (default: transparent).

public RGBA? ShapeColor { get; init; }

Property Value

RGBA

ShapeMarginColor

The shape margin fill color (default: transparent).

public RGBA? ShapeMarginColor { get; init; }

Property Value

RGBA

ShowAccessibilityInfo

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

public bool? ShowAccessibilityInfo { get; init; }

Property Value

bool?

ShowExtensionLines

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

public bool? ShowExtensionLines { get; init; }

Property Value

bool?

ShowInfo

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

public bool? ShowInfo { get; init; }

Property Value

bool?

ShowRulers

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

public bool? ShowRulers { get; init; }

Property Value

bool?

ShowStyles

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

public bool? ShowStyles { get; init; }

Property Value

bool?