ClickToDownload
Clicks the currently selected element and waits for a file to be downloaded. The element must be a download link or button.
Syntax
Browser.ClickToDownload
ยท [fileName]
Parameters
- fileName
- The name of the downloaded file. Use an empty string ("") to download the file with its default name.
Return Value
The name of the downloaded file.