Selenium Standalone
file
Upload a file to remote machine on which the browser is running.
Selenium Standalone command. More details can be found in the official protocol docs.
Usage
browser.file(file)
Parameters
Name | Type | Details |
---|---|---|
file | string | Base64-encoded zip archive containing single file which to upload. In case base64-encoded data does not represent a zip archive or archive contains more than one file it will throw an unknown error. |
Returns
- <String>
path
: Absolute path of uploaded file on remote machine.
getDownloadableFiles
List files from remote machine available for download.
Selenium Standalone command. More details can be found in the official protocol docs.
Usage
browser.getDownloadableFiles()