Click or drag to resize

OverlayClient Methods

Version 105.3.390

The OverlayClient type exposes the following members.

Methods
  NameDescription
Public methodDisableAsync
Disables domain notifications.
Public methodEnableAsync
Enables domain notifications.
Protected methodEnumToString(Enum) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(ContentEncoding) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(CSPViolationType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(DisabledImageType) (Inherited from DevToolsDomainBase.)
Protected methodEnumToString(PermissionType) (Inherited from DevToolsDomainBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetHighlightObjectForTestAsync
For testing.
Public methodGetSourceOrderHighlightObjectForTestAsync
For Source Order Viewer testing.
Public methodGetType
Gets 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 methodMemberwiseClone
Creates 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.
Protected methodToBase64String (Inherited from DevToolsDomainBase.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also