setAttributeValue method

Future<void> setAttributeValue(
  1. NodeId nodeId,
  2. String name,
  3. String value
)

Sets attribute for an element with given id. nodeId Id of the element to set attribute for. name Attribute name. value Attribute value.

Implementation

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