getFrame method

Retrieves information about the given frame. A frame refers to an <iframe> or a <frame> of a web page and is identified by a tab ID and a frame ID. details Information about the frame to retrieve information about.

Implementation

Future<GetFrameCallbackDetails?> getFrame(GetFrameDetails details) async {
  var $res = await $js.chrome.webNavigation.getFrame(details.toJS).toDart;
  return $res?.let(GetFrameCallbackDetails.fromJS);
}