Anchor Browser supports two methods for downloading files during your browser sessions:Documentation Index
Fetch the complete documentation index at: https://docs.anchorbrowser.io/llms.txt
Use this file to discover all available pages before exploring further.
- Traditional Downloads: Files are downloaded to the browser instance and then stored by Anchor for retrieval
To download PDF files directly instead of viewing them in the browser, set
pdf_viewer to false when creating your session.- P2P Downloads: Files are captured directly in the browser using peer-to-peer technology, available instantly without waiting for Anchor storage
Traditional File Downloads
The following examples demonstrate how to download a file using the traditional method and retrieve it from the browser session.Create a browser session
Use the create session API to create a new browser session.
To enable automatic PDF downloads, include the following
browser configuration:Fetch the file from the browser session
You can retrieve the downloaded file from the browser session using the get session downloads API

