sample.pdf
will become sample-1719265797164.pdf
).
Triggering Downloads
First, trigger a download in your browser automation:- Create a browser session and get the session ID
- Connect to the session using your preferred framework
- Configure your library’s downloads location
- Perform the download action in your automation script
Retrieving Downloaded Files
After triggering downloads in your browser session, you can retrieve them using the Session Downloads API. The files are returned as a ZIP archive.We sync the files in real-time; the size of your downloads might affect their
immediate availability through the
/downloads
endpoint. The code below
includes retry logic to handle this case.Node
Session Downloads API
Learn more about the available params and response fields