downloadFile
Download a file from the remote computer running Selenium node to local file system
by using the downloadFile
command.
اطلاعات
Note that this command is only supported if you use a
Selenium Grid with Chrome, Edge or Firefox
and have the se:downloadsEnabled
flag set in the capabilities.
Usage
browser.downloadFile(fileName, targetDirectory)
Parameters
Name | Type | Details |
---|---|---|
fileName | string | remote path to file |
targetDirectory | string | target location on local computer |