removeAttribute method

Future<void> removeAttribute(
  1. NodeId nodeId,
  2. String name
)

Removes attribute with given name from an element with given id. nodeId Id of the element to remove attribute from. name Name of the attribute to remove.

Implementation

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