当前位置: 首页>>代码示例>>Java>>正文


Java Sleeper.SYSTEM_SLEEPER属性代码示例

本文整理汇总了Java中org.openqa.selenium.support.ui.Sleeper.SYSTEM_SLEEPER属性的典型用法代码示例。如果您正苦于以下问题:Java Sleeper.SYSTEM_SLEEPER属性的具体用法?Java Sleeper.SYSTEM_SLEEPER怎么用?Java Sleeper.SYSTEM_SLEEPER使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在org.openqa.selenium.support.ui.Sleeper的用法示例。


在下文中一共展示了Sleeper.SYSTEM_SLEEPER属性的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: WebDriverWait2

public WebDriverWait2(final WebDriver driver, final long timeOutInSeconds, final long sleepInMillis) {
    super(driver, new SystemClock(), Sleeper.SYSTEM_SLEEPER, timeOutInSeconds, sleepInMillis);
}
 
开发者ID:codezombies,项目名称:easytest,代码行数:3,代码来源:WebDriverWait2.java

示例2: WebElementWait

public WebElementWait(SearchContext element, long timeoutInSeconds) {
    super(element, new SystemClock(), Sleeper.SYSTEM_SLEEPER);
    withTimeout(timeoutInSeconds, TimeUnit.SECONDS);
    pollingEvery(500, TimeUnit.MILLISECONDS);
    ignoring(WebDriverException.class);
}
 
开发者ID:relateiq,项目名称:AugmentedDriver,代码行数:6,代码来源:WebElementWait.java

示例3: SearchContextWait

public SearchContextWait(final SearchContext input, final long timeoutMillis) {
    this(input, new SystemClock(), Sleeper.SYSTEM_SLEEPER, timeoutMillis, TimeUnit.MILLISECONDS, DEFAULT_SLEEP_TIMEOUT, TimeUnit.MILLISECONDS);
}
 
开发者ID:MagenTys,项目名称:cinnamon,代码行数:3,代码来源:SearchContextWait.java

示例4: SearchContextWait

/**
 * Wait will ignore instances of NotFoundException that are encountered
 * (thrown) by default in the 'until' condition, and immediately propagate
 * all others. You can add more to the ignore list by calling
 * ignoring(exceptions to add).
 *
 * @param context
 *            The SearchContext instance to pass to the expected conditions
 * @param timeOutInSeconds
 *            The timeout in seconds when an expectation is called
 * @see SearchContextWait#ignoring(java.lang.Class)
 */
public SearchContextWait(SearchContext context, long timeOutInSeconds) {
    this(context, new SystemClock(), Sleeper.SYSTEM_SLEEPER, timeOutInSeconds, DEFAULT_SLEEP_TIMEOUT);
}
 
开发者ID:Nordstrom,项目名称:Selenium-Foundation,代码行数:15,代码来源:SearchContextWait.java

示例5: QAFWebDriverWait

/**
 * Wait will ignore instances of NotFoundException that are encountered
 * (thrown) by default in the 'until' condition, and immediately propagate
 * all others. You can add more to the ignore list by calling
 * ignoring(exceptions to add).
 * 
 * @param driver
 *            The WebDriver instance to pass to the expected conditions
 * @param timeOutInMiliSeconds
 *            The timeout in seconds when an expectation is called
 * @see QAFWebDriverWait#ignoring(Class[]) equals
 */
public QAFWebDriverWait(QAFExtendedWebDriver driver, long timeOutInMiliSeconds) {
	this(driver, new SystemClock(), Sleeper.SYSTEM_SLEEPER, timeOutInMiliSeconds,
			getDefaultInterval());
}
 
开发者ID:qmetry,项目名称:qaf,代码行数:16,代码来源:QAFWebDriverWait.java

示例6: QAFWebElementWait

/**
 * Wait will ignore instances of NotFoundException that are encountered
 * (thrown) by default in the 'until' condition, and immediately propagate
 * all others. You can add more to the ignore list by calling
 * ignoring(exceptions to add).
 * 
 * @param element
 *            The WebElement instance to pass to the expected conditions
 * @param timeOutInMiliSeconds
 *            The timeout in seconds when an expectation is called
 * @see QAFWebElementWait#ignoring(Class[]) equals
 */
public QAFWebElementWait(QAFExtendedWebElement element, long timeOutInMiliSeconds) {
	this(element, new SystemClock(), Sleeper.SYSTEM_SLEEPER, timeOutInMiliSeconds, getDefaultInterval());
}
 
开发者ID:qmetry,项目名称:qaf,代码行数:15,代码来源:QAFWebElementWait.java


注:本文中的org.openqa.selenium.support.ui.Sleeper.SYSTEM_SLEEPER属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。