highlightFrame

Deprecated

Deprecated in the Chrome DevTools protocol

Highlights owner element of the frame with given id. Deprecated: Doesn't work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode.

Official doc

Note: this function uses an input class, and constructing this class manually may lead to incompatibilities if the class's constructor arguments change in the future. For maximum compatibility, it is advised to use the overload of this function that directly takes the mandatory parameters as arguments, and the optional ones from a configuration lambda.


inline suspend fun highlightFrame(frameId: FrameId, optionalArgs: HighlightFrameRequest.Builder.() -> Unit = {}): HighlightFrameResponse

Deprecated

Deprecated in the Chrome DevTools protocol

Highlights owner element of the frame with given id. Deprecated: Doesn't work reliably and cannot be fixed due to process separation (the owner node might be in a different process). Determine the owner node in the client and use highlightNode.

Official doc

Parameters

frameId

Identifier of the frame to highlight.