use of io.appium.java_client.pagefactory.TimeOutDuration in project java-client by appium.
the class TimeoutTest method setUp.
/**
* The setting up.
*/
@Before
public void setUp() {
setProperty(ChromeDriverService.CHROME_DRIVER_EXE_PROPERTY, getChromeDriver().getAbsolutePath());
driver = new ChromeDriver();
timeOutDuration = new TimeOutDuration(DEFAULT_TIMEOUT, DEFAULT_TIMEUNIT);
initElements(new AppiumFieldDecorator(driver, timeOutDuration), this);
}
Aggregations