 | LocatorExtensions.ToBy Method |
Framework to automate tests using Selenium WebDriver
From the locator to selenium by converter.
Namespace: Ocaramba.ExtensionsAssembly: OcarambaLite (in OcarambaLite.dll) Version: 4.2.2
Syntax
ExampleUsing standard method FindElement, even we have locator as ElementLocator:
private readonly ElementLocator searchTextbox = new ElementLocator(Locator.Id, "SearchTextBoxId");
this.Driver.FindElement(searchTextbox.ToBy());
See Also