Interface IHasDownloads
Interface indicating the driver can handle downloading remote files.
public interface IHasDownloads
Methods
DeleteDownloadableFiles()
Deletes the downloadable files.
void DeleteDownloadableFiles()
DownloadFile(string, string)
Downloads a file with the specified file name and returns a dictionary containing the downloaded file's data.
void DownloadFile(string fileName, string targetDirectory)
Parameters
fileName
stringThe name of the file to be downloaded.
targetDirectory
stringThe location to save the downloaded file.
GetDownloadableFiles()
Retrieves the downloadable files.
IReadOnlyList<string> GetDownloadableFiles()
Returns
- IReadOnlyList<string>
A read-only list of file names available for download.