moveTo method
Implementation
Future<int> moveTo(int nodeId, int targetNodeId,
{int? insertBeforeNodeId}) async {
var params = {'nodeId': nodeId, 'targetNodeId': targetNodeId};
if (insertBeforeNodeId != null) {
params['insertBeforeNodeId'] = insertBeforeNodeId;
}
var resp = await sendCommand('DOM.moveTo', params: params);
return resp.result!['nodeId'] as int;
}