setOuterHTML method
Sets node HTML markup, returns new node id.
nodeId
Id of the node to set markup for.
outerHTML
Outer HTML markup to set.
Implementation
Future<void> setOuterHTML(NodeId nodeId, String outerHTML) async {
await _client.send('DOM.setOuterHTML', {
'nodeId': nodeId,
'outerHTML': outerHTML,
});
}