| FilesHelperWaitForFileOfGivenName(String, String) Method |
Framework to automate tests using Selenium WebDriver
Waits for file of given name with LongTimeout, checks the size of the current file.
Namespace: Ocaramba.HelpersAssembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax public static void WaitForFileOfGivenName(
string filesName,
string folder
)
Request Example
Parameters
- filesName String
- Name of the files.
- folder String
- The folder.
Example How to use it:
var file = "some-file.txt"
this.Driver.GetElement(this.fileLink.Format(file), "Click on file").Click();
FilesHelper.WaitForFileOfGivenName(file, this.DriverContext.DownloadFolder);
See Also