highlightFrame method
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.
frameId
Identifier of the frame to highlight.
contentColor
The content box highlight fill color (default: transparent).
contentOutlineColor
The content box highlight outline color (default: transparent).
Implementation
@Deprecated('This command is deprecated')
Future<void> highlightFrame(page.FrameId frameId,
{dom.RGBA? contentColor, dom.RGBA? contentOutlineColor}) async {
await _client.send('Overlay.highlightFrame', {
'frameId': frameId,
if (contentColor != null) 'contentColor': contentColor,
if (contentOutlineColor != null)
'contentOutlineColor': contentOutlineColor,
});
}