MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / DownloadFile

Method DownloadFile

dotnet/src/webdriver/IHasDownloads.cs:38–38  ·  view source on GitHub ↗

Downloads a file with the specified file name and returns a dictionary containing the downloaded file's data. The name of the file to be downloaded. The location to save the downloaded file.

(string fileName, string targetDirectory)

Source from the content-addressed store, hash-verified

36 /// <param name="fileName">The name of the file to be downloaded.</param>
37 /// <param name="targetDirectory">The location to save the downloaded file.</param>
38 void DownloadFile(string fileName, string targetDirectory);
39
40 /// <summary>
41 /// Deletes the downloadable files.

Callers 1

CanDownloadFileMethod · 0.45

Calls

no outgoing calls

Tested by 1

CanDownloadFileMethod · 0.36