Class HighlightConfig

java.lang.Object
org.openqa.selenium.devtools.v85.overlay.model.HighlightConfig

public class HighlightConfig extends Object
Configuration data for the highlighting of page elements.
  • Constructor Details

  • Method Details

    • getShowInfo

      public Optional<Boolean> getShowInfo()
      Whether the node info tooltip should be shown (default: false).
    • getShowStyles

      public Optional<Boolean> getShowStyles()
      Whether the node styles in the tooltip (default: false).
    • getShowRulers

      public Optional<Boolean> getShowRulers()
      Whether the rulers should be shown (default: false).
    • getShowAccessibilityInfo

      public Optional<Boolean> getShowAccessibilityInfo()
      Whether the a11y info should be shown (default: true).
    • getShowExtensionLines

      public Optional<Boolean> getShowExtensionLines()
      Whether the extension lines from node to the rulers should be shown (default: false).
    • getContentColor

      public Optional<RGBA> getContentColor()
      The content box highlight fill color (default: transparent).
    • getPaddingColor

      public Optional<RGBA> getPaddingColor()
      The padding highlight fill color (default: transparent).
    • getBorderColor

      public Optional<RGBA> getBorderColor()
      The border highlight fill color (default: transparent).
    • getMarginColor

      public Optional<RGBA> getMarginColor()
      The margin highlight fill color (default: transparent).
    • getEventTargetColor

      public Optional<RGBA> getEventTargetColor()
      The event target element highlight fill color (default: transparent).
    • getShapeColor

      public Optional<RGBA> getShapeColor()
      The shape outside fill color (default: transparent).
    • getShapeMarginColor

      public Optional<RGBA> getShapeMarginColor()
      The shape margin fill color (default: transparent).
    • getCssGridColor

      public Optional<RGBA> getCssGridColor()
      The grid layout color (default: transparent).
    • getColorFormat

      public Optional<ColorFormat> getColorFormat()
      The color format used to format color styles (default: hex).
    • getGridHighlightConfig

      public Optional<GridHighlightConfig> getGridHighlightConfig()
      The grid layout highlight configuration (default: all transparent).