public class HtmlElementLocatorFactory extends Object implements CustomElementLocatorFactory
| Constructor and Description |
|---|
HtmlElementLocatorFactory(org.openqa.selenium.SearchContext searchContext) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.support.pagefactory.ElementLocator |
createLocator(Class clazz)
Creates locator for the given field.
|
org.openqa.selenium.support.pagefactory.ElementLocator |
createLocator(Field field)
Creates locator for the given field.
|
int |
getTimeOut(Class clazz) |
int |
getTimeOut(Field field) |
public HtmlElementLocatorFactory(org.openqa.selenium.SearchContext searchContext)
public org.openqa.selenium.support.pagefactory.ElementLocator createLocator(Field field)
FindBy,
FindBy, FindBys,
FindAll and CacheLookup annotations.createLocator in interface org.openqa.selenium.support.pagefactory.ElementLocatorFactoryfield - Field for which locator will be created.public org.openqa.selenium.support.pagefactory.ElementLocator createLocator(Class clazz)
FindBy,
FindBy, FindBys,
FindAll and CacheLookup annotations.createLocator in interface CustomElementLocatorFactoryclazz - Class for which locator will be created.public int getTimeOut(Field field)
public int getTimeOut(Class clazz)
Copyright © 2023 Yandex. All rights reserved.