Enum Class IOSServerFlag
- All Implemented Interfaces:
ServerArgument,Serializable,Comparable<IOSServerFlag>,Constable
Here is the list of iOS specific server arguments.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHow many times to retry launching Instruments before saying it crashed or timed out.custom path to the instruments commandline tool.use the default simulator that instruments launches on its own.Use the iPad Simulator no matter what the app wants.Use the iPhone Simulator no matter what the app wants.absolute path to compiled .ipa file.Xcode 6 has a bug on some platforms where a certain simulator can only be launched without error if all other simulator devices are first deleted.Use the safari app.Absolute path to directory Appium use to save ios instruments traces, defaults to /appium-instruments..tracetemplate file to use with Instruments.Local port used for communication with ios-webkit-debug-proxy. -
Method Summary
Modifier and TypeMethodDescriptionstatic IOSServerFlagReturns the enum constant of this class with the specified name.static IOSServerFlag[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IPA_ABSOLUTE_PATH
absolute path to compiled .ipa file. Sample: --ipa /abs/path/to/my.ipa -
BACK_END_RETRIES
How many times to retry launching Instruments before saying it crashed or timed out. Sample: --backend-retries 3 -
SAFARI
Use the safari app. Default: false -
DEFAULT_DEVICE
use the default simulator that instruments launches on its own. Default: false -
FORCE_IPHONE_SIMULATOR
Use the iPhone Simulator no matter what the app wants. Default: false -
FORCE_IPAD_SIMULATOR
Use the iPad Simulator no matter what the app wants. Default: false -
TRACE_TEMPLATE_FILE_PATH
.tracetemplate file to use with Instruments. Sample: --tracetemplate /Users/me/Automation.tracetemplate -
CUSTOM_INSTRUMENTS_PATH
custom path to the instruments commandline tool. Sample: --instruments /path/to/instruments -
ISOLATE_SIM_DEVICE
Xcode 6 has a bug on some platforms where a certain simulator can only be launched without error if all other simulator devices are first deleted. This option causes Appium to delete all devices other than the one being used by Appium. Note that this is a permanent deletion, and you are responsible for using simctl or xcode to manage the categories of devices used with Appium. Default: false -
TRACE_DIRECTORY_ABSOLUTE_PATH
Absolute path to directory Appium use to save ios instruments traces, defaults to /appium-instruments. Default: null -
WEBKIT_DEBUG_PROXY_PORT
Local port used for communication with ios-webkit-debug-proxy. Default value: 27753 Sample: --webkit-debug-proxy-port 27753
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getArgument
- Specified by:
getArgumentin interfaceServerArgument
-