Python SDK
File Upload
Use click_and_upload to upload files 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 or a callable that returns a file-like object.
Whether the file was uploaded successfully.
Sample Usage
Let’s say you have a file called simplex-logo.svg
in the current directory. You can upload it with a file path:
or with a callable:
Was this page helpful?