public enum GeneralServerFlag extends Enum<GeneralServerFlag> implements ServerArgument
Enum Constant and Description |
---|
APP
Deprecated.
|
ASYNC_TRACE
Add long stack traces to log entries.
|
AUTOMATION_NAME
Deprecated.
|
BROWSER_NAME
Deprecated.
|
CALLBACK_ADDRESS
callback IP Address (default: same as address).
|
CALLBACK_PORT
callback port (default: same as port).
|
CHROME_DRIVER_EXECUTABLE
Deprecated.
|
CHROME_DRIVER_PORT
Deprecated.
|
COMMAND_TIMEOUT
Deprecated.
|
CONFIGURATION_FILE
Configuration JSON file to register Appium with selenium grid.
|
DEBUG_LOG_SPACING
Add exaggerated spacing in logs to help with visual inspection.
|
DEVICE_NAME
Deprecated.
|
LANGUAGE
Deprecated.
|
LOCAL_TIMEZONE
Use local timezone for timestamps.
|
LOCALE
Deprecated.
|
LOG_LEVEL
The message log level to be shown.
|
LOG_NO_COLORS
Don’t use colors in console output.
|
LOG_TIMESTAMP
Show timestamps in console output.
|
NO_PERMS_CHECKS
Bypass Appium’s checks to ensure we can read/write necessary files.
|
NO_RESET
Deprecated.
|
PLATFORM_NAME
Deprecated.
|
PLATFORM_VERSION
Deprecated.
|
PRE_LAUNCH
Pre-launch the application before allowing the first session (Requires –app and, for Android, –app-pkg and –app-activity).
|
ROBOT_ADDRESS
IP Address of robot.
|
ROBOT_PORT
Port for robot.
|
SESSION_OVERRIDE
Enables session override (clobbering).
|
SHELL
Enter REPL mode
|
SHOW_CONFIG
Show info about the Appium server configuration and exit.
|
STRICT_CAPS
Cause sessions to fail if desired caps are sent in that Appium does not
recognize as valid for the selected device.
|
TEMP_DIRECTORY
Absolute path to directory Appium can use to manage temporary files, like
built-in iOS apps it needs to move around.
|
UIID
Deprecated.
|
WEB_HOOK
Also send log output to this HTTP listener.
|
Modifier and Type | Method and Description |
---|---|
String |
getArgument() |
static GeneralServerFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GeneralServerFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GeneralServerFlag SHELL
@Deprecated public static final GeneralServerFlag APP
@Deprecated public static final GeneralServerFlag UIID
public static final GeneralServerFlag CALLBACK_ADDRESS
public static final GeneralServerFlag CALLBACK_PORT
public static final GeneralServerFlag SESSION_OVERRIDE
@Deprecated public static final GeneralServerFlag NO_RESET
public static final GeneralServerFlag PRE_LAUNCH
public static final GeneralServerFlag LOG_LEVEL
public static final GeneralServerFlag LOG_TIMESTAMP
public static final GeneralServerFlag LOCAL_TIMEZONE
public static final GeneralServerFlag LOG_NO_COLORS
public static final GeneralServerFlag WEB_HOOK
@Deprecated public static final GeneralServerFlag DEVICE_NAME
@Deprecated public static final GeneralServerFlag PLATFORM_NAME
@Deprecated public static final GeneralServerFlag PLATFORM_VERSION
@Deprecated public static final GeneralServerFlag AUTOMATION_NAME
@Deprecated public static final GeneralServerFlag BROWSER_NAME
@Deprecated public static final GeneralServerFlag LANGUAGE
@Deprecated public static final GeneralServerFlag LOCALE
public static final GeneralServerFlag CONFIGURATION_FILE
public static final GeneralServerFlag ROBOT_ADDRESS
public static final GeneralServerFlag ROBOT_PORT
@Deprecated public static final GeneralServerFlag CHROME_DRIVER_PORT
@Deprecated public static final GeneralServerFlag CHROME_DRIVER_EXECUTABLE
public static final GeneralServerFlag SHOW_CONFIG
public static final GeneralServerFlag NO_PERMS_CHECKS
@Deprecated public static final GeneralServerFlag COMMAND_TIMEOUT
public static final GeneralServerFlag STRICT_CAPS
public static final GeneralServerFlag TEMP_DIRECTORY
public static final GeneralServerFlag DEBUG_LOG_SPACING
public static final GeneralServerFlag ASYNC_TRACE
public static GeneralServerFlag[] values()
for (GeneralServerFlag c : GeneralServerFlag.values()) System.out.println(c);
public static GeneralServerFlag 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 String getArgument()
getArgument
in interface ServerArgument
Copyright © 2016. All rights reserved.