public final class Wait extends Object
Modifier and Type | Method and Description |
---|---|
static void |
forDomReady()
Wait for domReady for a maximum of one second.
|
static void |
forDomReady(int timeOutInSeconds)
Wait for "DOM ready" for a maximum of seconds specified by parameter.
|
static void |
forUrl(String url)
Load URL and wait for it to be loaded.
|
static void |
forUrl(String url,
int timeOutInSeconds)
Load URL and wait passed number of seconds for it to be loaded.
|
public static void forDomReady()
public static void forDomReady(int timeOutInSeconds)
timeOutInSeconds
- how long to wait for "DOM ready"public static void forUrl(String url)
url
- to loadpublic static void forUrl(String url, int timeOutInSeconds)
url
- to loadtimeOutInSeconds
- how long to wait for URL to be currentCopyright © 2017–2022 wcm.io QA. All rights reserved.