Future<Node> getDocument() async => Node((await sendCommand('DOM.getDocument')).result!['root'] as Map<String, dynamic>);