browser_file_upload
Upload files to web applications using a file input element on any page. Locate elements by ID, CSS, XPATH, or other strategies, specify the file path, and set a timeout for automation tasks with Selenium WebDriver integration.
Instructions
Uploads a file using a file input element
Input Schema
Name | Required | Description | Default |
---|---|---|---|
by | Yes | Locator strategy to find element | |
filePath | Yes | Absolute path to the file to upload | |
timeout | No | Maximum time to wait for element in milliseconds | |
value | Yes | Value for the locator strategy |