Click or drag to resize

OverlayClient Methods

Version 130.1.90

The OverlayClient type exposes the following members.

Methods
 NameDescription
Public methodDisableAsync Disables domain notifications.
Public methodEnableAsync Enables domain notifications.
Protected methodEnumToString(ContentEncoding)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(CSPViolationType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(DisabledImageType)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(Enum)
(Inherited from DevToolsDomainBase)
Protected methodEnumToString(PermissionType)
(Inherited from DevToolsDomainBase)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetGridHighlightObjectsForTestAsync For Persistent Grid testing.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetHighlightObjectForTestAsync For testing.
Public methodGetSourceOrderHighlightObjectForTestAsync For Source Order Viewer testing.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHideHighlightAsync Hides any highlight.
Public methodHighlightNodeAsync Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Public methodHighlightQuadAsync Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
Public methodHighlightRectAsync Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Public methodHighlightSourceOrderAsync Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodSetInspectModeAsync Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.
Public methodSetPausedInDebuggerMessageAsync SetPausedInDebuggerMessage
Public methodSetShowAdHighlightsAsync Highlights owner element of all frames detected to be ads.
Public methodSetShowContainerQueryOverlaysAsync SetShowContainerQueryOverlays
Public methodSetShowDebugBordersAsync Requests that backend shows debug borders on layers
Public methodSetShowFlexOverlaysAsync SetShowFlexOverlays
Public methodSetShowFPSCounterAsync Requests that backend shows the FPS counter
Public methodSetShowGridOverlaysAsync Highlight multiple elements with the CSS Grid overlay.
Public methodSetShowHingeAsync Add a dual screen device hinge
Public methodSetShowIsolatedElementsAsync Show elements in isolation mode with overlays.
Public methodSetShowLayoutShiftRegionsAsync Requests that backend shows layout shift regions
Public methodSetShowPaintRectsAsync Requests that backend shows paint rectangles
Public methodSetShowScrollBottleneckRectsAsync Requests that backend shows scroll bottleneck rects
Public methodSetShowScrollSnapOverlaysAsync SetShowScrollSnapOverlays
Public methodSetShowViewportSizeOnResizeAsync Paints viewport size upon main frame resize.
Public methodSetShowWebVitalsAsync Request that backend shows an overlay with web vital metrics.
Public methodSetShowWindowControlsOverlayAsync Show Window Controls Overlay for PWA
Protected methodToBase64String
(Inherited from DevToolsDomainBase)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also