pushNodeByPathToFrontend method

Future<NodeId> pushNodeByPathToFrontend(
  1. String path
)

Requests that the node is sent to the caller given its path. // FIXME, use XPath path Path to node in the proprietary format. Returns: Id of the node for given path.

Implementation

Future<NodeId> pushNodeByPathToFrontend(String path) async {
  var result = await _client.send('DOM.pushNodeByPathToFrontend', {
    'path': path,
  });
  return NodeId.fromJson(result['nodeId'] as int);
}