setNodeValue method

Future<void> setNodeValue(
  1. NodeId nodeId,
  2. String value
)

Sets node value for a node with given id. nodeId Id of the node to set value for. value New node's value.

Implementation

Future<void> setNodeValue(NodeId nodeId, String value) async {
  await _client.send('DOM.setNodeValue', {'nodeId': nodeId, 'value': value});
}