Python SDK
File Upload and Download
Use click_and_upload and click_and_download functions to handle file management in our remote browser sessions.
click_and_upload
Description of the element to click on the page that opens the operating system’s file upload dialog (e.g., “Upload button”, “Choose file button”).
The path to the file you want to upload.
Whether the file was uploaded successfully.
Sample Usage
click_and_download
Description of the element to click on the page that opens the operating system’s file upload dialog (e.g., “Upload button”, “Choose file button”).
A tuple containing:
- b64 (str): Base64 encoded file contents.
- filename (str): Name of the downloaded file.
Sample Usage
Was this page helpful?