setDocumentContent method
Sets given markup as the document's HTML.
frameId Frame id to set HTML for.
html HTML content to set.
Implementation
Future<void> setDocumentContent(FrameId frameId, String html) async {
await _client.send('Page.setDocumentContent', {
'frameId': frameId,
'html': html,
});
}