resolveNode method

Future<RemoteObject> resolveNode(
  1. int nodeId, {
  2. String? objectGroup,
})

Implementation

Future<RemoteObject> resolveNode(int nodeId, {String? objectGroup}) async {
  var params = <String, dynamic>{'nodeId': nodeId};
  if (objectGroup != null) {
    params['objectGroup'] = objectGroup;
  }

  var resp = await sendCommand('DOM.resolveNode', params: params);
  return RemoteObject(resp.result!['object'] as Map<String, dynamic>);
}