Click or drag to resize

FilesHelperDeleteFile Method

Framework to automate tests using Selenium WebDriver
Delete file in given folder if exists.

Namespace: Ocaramba.Helpers
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
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:
C#
FilesHelper.DeleteFile("filename.txt", this.DriverContext.DownloadFolder);
See Also