|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<OperaSettings.Capability>
com.opera.core.systems.OperaSettings.Capability
public static enum OperaSettings.Capability
The capabilities specifically available to Opera. The capabilities may be used with DesiredCapabilities.opera().
| Enum Constant Summary | |
|---|---|
ARGUMENTS
(String) Arguments to pass to Opera, separated by spaces. |
|
AUTOSTART
(Boolean) Whether to auto-start the Opera binary. |
|
BACKEND
Deprecated. |
|
BINARY
(String/File) Path to the Opera binary to use. |
|
DETACH
(Boolean) Whether to detach the Opera browser when the driver shuts down. |
|
DISPLAY
(Integer) The X display to use. |
|
HOST
(String) The host Opera should connect to. |
|
LAUNCHER
(String) Path to the launcher binary to use. |
|
LOGGING_FILE
(String/File) Where to send the output of the logging. |
|
LOGGING_LEVEL
(String/Level/Integer) How verbose the logging should be. |
|
NO_QUIT
Deprecated. replaced by DETACH |
|
NO_RESTART
Deprecated. |
|
OPERAIDLE
(Boolean) Whether to use Opera's alternative implicit wait implementation. |
|
PORT
(Integer) The port to Opera should connect to. |
|
PRODUCT
(String) The product we are using, for example OperaProduct.DESKTOP or OperaProduct.CORE. |
|
PROFILE
(OperaProfile/String) Directory of the profile to use, or an OperaProfile instance
object representing a profile. |
|
| Method Summary | |
|---|---|
static OperaSettings.Capability |
findCapability(String capabilityName)
Looks up a capability by its capability name. |
String |
getCapability()
Gets the string representation of this capability for use in DesiredCapabilities. |
String |
getIdentifier()
Returns the identifier of the capability (used in OperaSettings without it's CAPABILITY_PREFIX. |
String |
toString()
Gets the string representation of this capability. |
static OperaSettings.Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OperaSettings.Capability[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final OperaSettings.Capability LOGGING_LEVEL
Level reference, or null. If the value is neither of a known name nor an integer, an IllegalArgumentException will be thrown.
public static final OperaSettings.Capability LOGGING_FILE
public static final OperaSettings.Capability BINARY
/usr/bin/opera, C:\Program
Files\Opera\opera.exe, or similar).
public static final OperaSettings.Capability ARGUMENTS
opera -help for
available command-line switches.
public static final OperaSettings.Capability HOST
public static final OperaSettings.Capability PORT
public static final OperaSettings.Capability LAUNCHER
public static final OperaSettings.Capability PROFILE
OperaProfile instance
object representing a profile. If null is given, a random temporary directory is used. If
"", an empty string, then the default ~/.autotest profile directory will be used
(for backwards compatibility with Opera < 11.60).
public static final OperaSettings.Capability OPERAIDLE
public static final OperaSettings.Capability DISPLAY
public static final OperaSettings.Capability AUTOSTART
@Deprecated public static final OperaSettings.Capability NO_RESTART
OperaDesktopDriver reinitialization. This
option only applies to the Desktop Driver.
@Deprecated public static final OperaSettings.Capability NO_QUIT
DETACH
public static final OperaSettings.Capability DETACH
public static final OperaSettings.Capability PRODUCT
OperaProduct.DESKTOP or OperaProduct.CORE.
@Deprecated public static final OperaSettings.Capability BACKEND
| Method Detail |
|---|
public static OperaSettings.Capability[] values()
for (OperaSettings.Capability c : OperaSettings.Capability.values()) System.out.println(c);
public static OperaSettings.Capability valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getIdentifier()
OperaSettings without it's CAPABILITY_PREFIX.
public String getCapability()
DesiredCapabilities.
DesiredCapabilitiespublic String toString()
toString in class Enum<OperaSettings.Capability>public static OperaSettings.Capability findCapability(String capabilityName)
capabilityName - the string representation of the capability
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||