getFrameOwner method

Future<GetFrameOwnerResult> getFrameOwner(
  1. FrameId frameId
)

Returns iframe node that owns iframe with the given domain.

Implementation

Future<GetFrameOwnerResult> getFrameOwner(page.FrameId frameId) async {
  var result = await _client.send('DOM.getFrameOwner', {
    'frameId': frameId,
  });
  return GetFrameOwnerResult.fromJson(result);
}