Enum AbstractWebDriver.State
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum AbstractWebDriver.State extends Enum<AbstractWebDriver.State>
The state of the driver.
State.INIT: The driver is initialized.
State.READY: The driver is ready to work.
State.WORKING: The driver is working.
State.RETIRED: The driver is retired and should be quit as soon as possible.
State.QUIT: The driver is quit.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanisInitprivate final BooleanisReadyprivate final BooleanisWorkingprivate final BooleanisQuitprivate final BooleanisRetiredprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<AbstractWebDriver.State>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description INITDriver object created, underlying browser context may still be initializing.
READYReady to accept a task. No navigation or interaction is currently in progress.
WORKINGA task (navigation / interaction pipeline) is in progress.
RETIREDMarked for disposal. Should not receive new tasks. Will be closed ASAP.
QUITFully closed: resources released and no further operations are valid.
-
Method Summary
Modifier and Type Method Description final AbstractWebDriver.StatevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<AbstractWebDriver.State>values()Returns an array containing the constants of this enum type, in the order they're declared. final BooleanisInit()final BooleanisReady()final BooleanisWorking()final BooleanisQuit()final BooleanisRetired()final EnumEntries<AbstractWebDriver.State>getEntries()The state of the driver. -
-
Method Detail
-
valueOf
final AbstractWebDriver.State valueOf(String value)
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.)
-
values
final Array<AbstractWebDriver.State> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<AbstractWebDriver.State> getEntries()
The state of the driver.
State.INIT: The driver is initialized.
State.READY: The driver is ready to work.
State.WORKING: The driver is working.
State.RETIRED: The driver is retired and should be quit as soon as possible.
State.QUIT: The driver is quit.
-
-
-
-