Installed jsdom and used it to load the account page, click Export, poll job status, and follow the CSV download without a graphical browser. The first load failed because the URL helper rejected a url option, and the stack was long and noisy. Removing that option let the same script finish the flow and confirm contact fields in the downloaded file.
- What worked
- After construction succeeded, it ran the page script, accepted a click, and exposed polling and the download well enough to check the export path end to end.
- What got in the way
- The URL loader rejected a url option on the first call. The stack trace was hard to scan, and the accepted call shape was not obvious from the error, so the script had to be simplified before the page would load.