public enum OperaIntervals extends Enum<OperaIntervals>
| Enum Constant and Description |
|---|
DEFAULT_RESPONSE_TIMEOUT
Based on experiences with slow BCM7351 it is advaisable to set this to 50s for linuxsdk (devices).
|
HANDSHAKE_TIMEOUT
The handshake timeout defines how long the Scope server (OperaDriver) should wait for a
connection from a client (Opera) before shutting down.
|
IMPLICIT_WAIT
An implicit wait is to tell WebDriver to poll the DOM for a certain amount of time when trying
to find an element or elements if they are not immediately available.
|
INTERNAL_FREQUENCY
The frequency rate at which to poll internal data structures.
|
KILL_GRACE_TIMEOUT |
LAUNCHER_CONNECT_TIMEOUT
After starting the launcher we need to wait for the launcher to connect to our listener.
|
LAUNCHER_RESPONSE_TIMEOUT
If anything goes wrong while connected to the launcher, don't block forever.
|
MENU_EVENT_TIMEOUT |
MULTIPLE_CLICK_SLEEP
When clicking several times in a row (e.g.
|
OPERA_IDLE_TIMEOUT |
PAGE_LOAD_TIMEOUT
The page load timeout specifies how long the driver waits for a page to finish loading before
returning the control to the user.
|
POLL_INTERVAL
The default poll interval for queries that are made across a network.
|
PROCESS_START_SLEEP
If programs such as the launcher exits immediately with an improper exit value (!= 0) we can
assume something went wrong during initialization.
|
PROCESS_START_TIMEOUT
OperaInProcessRunner doesn't know when the
executable is running. |
QUIT_RESPONSE_TIMEOUT
The amount of time to wait for Opera to quit before throwing.
|
RESPONSE_TIMEOUT
The response timeout specifies for how long OperaDriver should wait before timing out when it
has not received a callback confirmation message from Scope after executing a command.
|
RUNNER_SCREEN_CAPTURE_TIMEOUT
The default timeout of taking an external screen capture using a
OperaRunner implementation. |
SCRIPT_RETRY_INTERVAL
The interval at which an ECMAScript should be attempted reevaluated in the case of it for some
reason failing.
|
SCRIPT_TIMEOUT
Sets the amount of time to wait for an asynchronous script to finish execution before throwing
an error.
|
SELFTEST_TIMEOUT
The timeout for selftests.
|
SOCKET_READ_RETRY_TIMEOUT
While communicating with slow devices it may happean data is not received yet so retry read
operation after this timeout Based on experiences with slow BCM7351 it is advaisable to set
this to 150ms for linuxsdk (devices).
|
WINDOW_CLOSE_TIMEOUT |
WINDOW_CLOSE_USING_ACTION_SLEEP
Different products have different animations when closing windows, and sometimes it might take
a little while if using an Opera action to close a window.
|
WINDOW_EVENT_TIMEOUT |
| Modifier and Type | Method and Description |
|---|---|
long |
getMs()
Converts the duration of the enum value as milliseconds.
|
org.openqa.selenium.support.ui.Duration |
getValue() |
void |
setValue(org.openqa.selenium.support.ui.Duration duration) |
static String |
toList() |
String |
toString() |
static OperaIntervals |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperaIntervals[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperaIntervals RESPONSE_TIMEOUT
public static final OperaIntervals IMPLICIT_WAIT
public static final OperaIntervals PAGE_LOAD_TIMEOUT
public static final OperaIntervals POLL_INTERVAL
public static final OperaIntervals WINDOW_EVENT_TIMEOUT
public static final OperaIntervals OPERA_IDLE_TIMEOUT
public static final OperaIntervals INTERNAL_FREQUENCY
public static final OperaIntervals HANDSHAKE_TIMEOUT
public static final OperaIntervals KILL_GRACE_TIMEOUT
public static final OperaIntervals DEFAULT_RESPONSE_TIMEOUT
public static final OperaIntervals QUIT_RESPONSE_TIMEOUT
public static final OperaIntervals SCRIPT_TIMEOUT
public static final OperaIntervals SCRIPT_RETRY_INTERVAL
SCRIPT_TIMEOUT.public static final OperaIntervals LAUNCHER_CONNECT_TIMEOUT
public static final OperaIntervals LAUNCHER_RESPONSE_TIMEOUT
public static final OperaIntervals PROCESS_START_SLEEP
public static final OperaIntervals PROCESS_START_TIMEOUT
OperaInProcessRunner doesn't know when the
executable is running. If an exit code is returned within this timeout, we assume the browser
has exited immediately (possibly with invalid command-line arguments, &c.).public static final OperaIntervals MENU_EVENT_TIMEOUT
public static final OperaIntervals MULTIPLE_CLICK_SLEEP
public static final OperaIntervals WINDOW_CLOSE_TIMEOUT
public static final OperaIntervals WINDOW_CLOSE_USING_ACTION_SLEEP
public static final OperaIntervals SELFTEST_TIMEOUT
public static final OperaIntervals SOCKET_READ_RETRY_TIMEOUT
public static final OperaIntervals RUNNER_SCREEN_CAPTURE_TIMEOUT
OperaRunner implementation.public static OperaIntervals[] values()
for (OperaIntervals c : OperaIntervals.values()) System.out.println(c);
public static OperaIntervals 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 nullpublic void setValue(org.openqa.selenium.support.ui.Duration duration)
public org.openqa.selenium.support.ui.Duration getValue()
public long getMs()
public String toString()
toString in class Enum<OperaIntervals>public static String toList()
Copyright © 2013. All Rights Reserved.