GetLocator

English version ›› HatFramework ›› Class: Tester ›› Locators ››
Parent Previous Next

GetLocator

Description: the method returns the locator from the locator storage as an object whose class is Locator

Syntax: GetLocator(string name)

Return value: object (Locator)


Example:

await tester.WaitVisibleElementAsync(tester.GetLocator("inputLogin"), 25);

Created with the Personal Edition of HelpNDoc: Easily create EBooks