Click or drag to resize

ElementLocator Constructor

Framework to automate tests using Selenium WebDriver
Initializes a new instance of the ElementLocator class.

Namespace: Ocaramba.Types
Assembly: OcarambaLite (in OcarambaLite.dll) Version: 1.0.0+d8e789f8644d1a9b63485ad7914acf4f489f3ef9
Syntax
C#
public ElementLocator(
	Locator kind,
	string value
)
Request Example

Parameters

kind  Locator
The locator type.
value  String
The locator value.
Example
How we define locator:
C#
private readonly ElementLocator searchTextbox = new ElementLocator(Locator.Id, "SearchTextBoxId");
See Also