public enum WaitUntil extends Enum<WaitUntil>
Enum Constant and Description |
---|
DomContentLoad |
DomReady |
Load |
NetworkAlmostIdle
Consider navigation to be finished when there are no more than 2 network
connections for at least 500 ms.
|
NetworkIdle
Consider navigation to be finished when there are no more than 0 network
connections for at least 500 ms.
|
Modifier and Type | Method and Description |
---|---|
static WaitUntil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WaitUntil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WaitUntil Load
public static final WaitUntil DomContentLoad
public static final WaitUntil NetworkIdle
public static final WaitUntil NetworkAlmostIdle
public static final WaitUntil DomReady
public String value
public static WaitUntil[] values()
for (WaitUntil c : WaitUntil.values()) System.out.println(c);
public static WaitUntil valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017, 2019–2019 WebFolder OÜ. All rights reserved.