puppeteer/new-docs/puppeteer.protocol.overlay.highlightconfig.md
Johan Bay e89e264a16
feat(chromium): roll Chromium to r782078 (#6250)
This corresponds to Chromium 85.0.4182.0.

This roll includes: 
- Enable SameSiteByDefaultCookies and CookiesWithoutSameSiteMustBeSecure
   https://crrev.com/c/2231445
- [FlexNG] Enable FlexNG by default
   https://crrev.com/c/2216595

Closes #6151.
2020-07-20 17:17:06 +02:00

3.3 KiB

Home > puppeteer > Protocol > Overlay > HighlightConfig

Protocol.Overlay.HighlightConfig interface

Configuration data for the highlighting of page elements.

Signature:

export interface HighlightConfig 

Properties

Property Type Description
borderColor DOM.RGBA The border highlight fill color (default: transparent).
colorFormat ColorFormat The color format used to format color styles (default: hex).
contentColor DOM.RGBA The content box highlight fill color (default: transparent).
cssGridColor DOM.RGBA The grid layout color (default: transparent).
eventTargetColor DOM.RGBA The event target element highlight fill color (default: transparent).
gridHighlightConfig GridHighlightConfig The grid layout highlight configuration (default: all transparent).
marginColor DOM.RGBA The margin highlight fill color (default: transparent).
paddingColor DOM.RGBA The padding highlight fill color (default: transparent).
shapeColor DOM.RGBA The shape outside fill color (default: transparent).
shapeMarginColor DOM.RGBA The shape margin fill color (default: transparent).
showAccessibilityInfo boolean Whether the a11y info should be shown (default: true).
showExtensionLines boolean Whether the extension lines from node to the rulers should be shown (default: false).
showInfo boolean Whether the node info tooltip should be shown (default: false).
showRulers boolean Whether the rulers should be shown (default: false).
showStyles boolean Whether the node styles in the tooltip (default: false).