Package io.webfolder.cdp.session
Enum WaitUntil
java.lang.Object
java.lang.Enum<WaitUntil>
io.webfolder.cdp.session.WaitUntil
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WaitUntil>
,java.lang.constant.Constable
public enum WaitUntil extends java.lang.Enum<WaitUntil>
-
Nested Class Summary
-
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
-
Method Summary
-
Enum Constant Details
-
Load
-
DomContentLoad
-
NetworkIdle
Consider navigation to be finished when there are no more than 0 network connections for at least 500 ms. -
NetworkAlmostIdle
Consider navigation to be finished when there are no more than 2 network connections for at least 500 ms. -
DomReady
-
-
Field Details
-
value
public java.lang.String value
-
-
Method Details
-
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
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
-