| FilesHelperDeleteFile Method |
Framework to automate tests using Selenium WebDriver
Delete file in given folder if exists.
Namespace: Ocaramba.HelpersAssembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax public static void DeleteFile(
string name,
string subFolder
)
Request Example
Parameters
- name String
- The name of file.
- subFolder String
- The subFolder.
Example How to use it:
FilesHelper.DeleteFile("filename.txt", this.DriverContext.DownloadFolder);
See Also