Class HighlightConfig
java.lang.Object
org.openqa.selenium.devtools.v85.overlay.model.HighlightConfig
Configuration data for the highlighting of page elements.
-
Constructor Summary
ConstructorsConstructorDescriptionHighlightConfig
(Optional<Boolean> showInfo, Optional<Boolean> showStyles, Optional<Boolean> showRulers, Optional<Boolean> showAccessibilityInfo, Optional<Boolean> showExtensionLines, Optional<RGBA> contentColor, Optional<RGBA> paddingColor, Optional<RGBA> borderColor, Optional<RGBA> marginColor, Optional<RGBA> eventTargetColor, Optional<RGBA> shapeColor, Optional<RGBA> shapeMarginColor, Optional<RGBA> cssGridColor, Optional<ColorFormat> colorFormat, Optional<GridHighlightConfig> gridHighlightConfig) -
Method Summary
Modifier and TypeMethodDescriptionThe border highlight fill color (default: transparent).The color format used to format color styles (default: hex).The content box highlight fill color (default: transparent).The grid layout color (default: transparent).The event target element highlight fill color (default: transparent).The grid layout highlight configuration (default: all transparent).The margin highlight fill color (default: transparent).The padding highlight fill color (default: transparent).The shape outside fill color (default: transparent).The shape margin fill color (default: transparent).Whether the a11y info should be shown (default: true).Whether the extension lines from node to the rulers should be shown (default: false).Whether the node info tooltip should be shown (default: false).Whether the rulers should be shown (default: false).Whether the node styles in the tooltip (default: false).
-
Constructor Details
-
HighlightConfig
public HighlightConfig(Optional<Boolean> showInfo, Optional<Boolean> showStyles, Optional<Boolean> showRulers, Optional<Boolean> showAccessibilityInfo, Optional<Boolean> showExtensionLines, Optional<RGBA> contentColor, Optional<RGBA> paddingColor, Optional<RGBA> borderColor, Optional<RGBA> marginColor, Optional<RGBA> eventTargetColor, Optional<RGBA> shapeColor, Optional<RGBA> shapeMarginColor, Optional<RGBA> cssGridColor, Optional<ColorFormat> colorFormat, Optional<GridHighlightConfig> gridHighlightConfig)
-
-
Method Details
-
getShowInfo
Whether the node info tooltip should be shown (default: false). -
getShowStyles
Whether the node styles in the tooltip (default: false). -
getShowRulers
Whether the rulers should be shown (default: false). -
getShowAccessibilityInfo
Whether the a11y info should be shown (default: true). -
getShowExtensionLines
Whether the extension lines from node to the rulers should be shown (default: false). -
getContentColor
The content box highlight fill color (default: transparent). -
getPaddingColor
The padding highlight fill color (default: transparent). -
getBorderColor
The border highlight fill color (default: transparent). -
getMarginColor
The margin highlight fill color (default: transparent). -
getEventTargetColor
The event target element highlight fill color (default: transparent). -
getShapeColor
The shape outside fill color (default: transparent). -
getShapeMarginColor
The shape margin fill color (default: transparent). -
getCssGridColor
The grid layout color (default: transparent). -
getColorFormat
The color format used to format color styles (default: hex). -
getGridHighlightConfig
The grid layout highlight configuration (default: all transparent).
-