setAttributesAsText method

Future<void> setAttributesAsText(
  1. int nodeId,
  2. String text, {
  3. String? name,
})

Implementation

Future<void> setAttributesAsText(int nodeId, String text, {String? name}) {
  var params = {'nodeId': nodeId, 'text': text};
  if (name != null) {
    params['name'] = name;
  }
  return sendCommand('DOM.setAttributeValue', params: params);
}