You can get the data more easily using simple URL invocations like view, bootstrap and download data.
I wrote an application using the same methods (gets the data and writes excel from in) that runs on node.js. You can steal the techniques from here:
I need to do the exact same thing for my project.
Did you have anything you can share?
No, unfortunately I haven't made any progress with this, primarily because I've been involved with a number of other projects (all using the NEAT stack - Node, Express, Alteryx and Tableau). My intention was/is to try React instead of jsdom as it looks like a more fully-realised virtual DOM.
Please let us know if you find a way of doing this. Good luck!
After 3 days of fighting with jsDom and the iFrame I finally came to this working solution (without the iFrame)
I hope it will help someone not to waste as much time as I did on this.