1 package com.atlassian.webdriver.waiter;
2
3 import com.atlassian.annotations.ExperimentalApi;
4
5 import java.util.concurrent.TimeUnit;
6
7 /**
8 * Exposes a set of methods to allow for polling elements for particular conditions
9 *
10 * <strong>WARNING</strong>: This API is still experimental and may be changed between versions.
11 *
12 * @since 2.1.0
13 */
14 @ExperimentalApi
15 public interface Waiter
16 {
17 WaiterQuery until();
18 WaiterQuery until(long timeoutMillis);
19 WaiterQuery until(long timeout, TimeUnit unit);
20 }