Future<int> setNodeName(int nodeId, String name) async { var resp = await sendCommand('DOM.setNodeName', params: {'nodeId': nodeId, 'name': name}); return resp.result!['nodeId'] as int; }