Package io.webfolder.cdp.session
Enum WaitUntil
- java.lang.Object
-
- java.lang.Enum<WaitUntil>
-
- io.webfolder.cdp.session.WaitUntil
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
value
-
-
-
Enum Constant Detail
-
Load
public static final WaitUntil Load
-
DomContentLoad
public static final WaitUntil DomContentLoad
-
NetworkIdle
public static final WaitUntil NetworkIdle
Consider navigation to be finished when there are no more than 0 network connections for at least 500 ms.
-
NetworkAlmostIdle
public static final WaitUntil NetworkAlmostIdle
Consider navigation to be finished when there are no more than 2 network connections for at least 500 ms.
-
DomReady
public static final WaitUntil DomReady
-
-
Method Detail
-
values
public static WaitUntil[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WaitUntil valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-