Skip to main content

Download File in Browser

Command description

Download a URL through the selected browser and optionally choose the local file name. If the path already exists, the name is adjusted automatically. BitBrowser and AdsPower multi-window downloads are supported. Use the returned task ID with Check Download Status, Wait for Browser Download, or Get Downloaded File Path.

Command Input Parameters

input parametersInput parameter typeDescription
Browser TypeenumGoogle Chrome, Edge, QQ Browser, BitBrowser, AdsPower
envIdstrThis parameter is only required when the browser type is BitBrowser or AdsPower, and is used to download files in the specified fingerprint browser window.
Download URLstr
File Name OptionenumAuto Detect, Custom File Name
Custom File NamestrRequired only when File Name Option is Custom File Name

Command Output Parameters

Output parametersOutput parameter typeDescription
Download Task IDint
tip

Example

Download files using the specified BitBrowser/AdsPower window

  1. Click Extension - Runavelo in the upper right corner of the BitBrowser/AdsPower window to see the envId of the window. The envId is automatically created by Runavelo. Each BitBrowser/AdsPower window has a unique envId. Uninstalling and reinstalling the Runavelo extension will cause the envId to change.
  1. Use Download File in Browser to start the download. You can choose the local file name; if it already exists, the name is adjusted automatically.
  2. Wait for the specified download task to succeed or fail. If timeout a is greater than the actual download duration b, Wait for Browser Download returns after b seconds; otherwise, it times out after a seconds.
  3. Get the local path with Get Downloaded File Path.
  4. Use Check Download Status to test for Downloading, Download Succeeded, or Download Failed.

FAQ

See Web Automation FAQ