public enum IOSServerFlag extends Enum<IOSServerFlag> implements ServerArgument
http://appium.io/slate/en/master/?ruby#appium-server-arguments
iOS specific arguments are marked by (IOS-only)Enum Constant and Description |
---|
BACK_END_RETRIES
How many times to retry launching Instruments before saying it
crashed or timed out
Sample: --backend-retries 3 |
CALENDAR_FORMAT
Calendar format for the iOS simulator
Default: null Sample: --calendar-format gregorian |
CUSTOM_INSTRUMENTS_PATH
custom path to the instruments commandline tool
Sample: --instruments /path/to/instruments |
DEFAULT_DEVICE
use the default simulator that instruments launches
on its own
Default: false |
FORCE_IPAD_SIMULATOR
Use the iPad Simulator no matter what the app wants
Default: false |
FORCE_IPHONE_SIMULATOR
Use the iPhone Simulator no matter what the app wants
Default: false |
IPA_ABSOLUTE_PATH
absolute path to compiled .ipa file
Sample:
--ipa /abs/path/to/my.ipa |
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.
|
KEEP_KEYCHAINS
Whether to keep keychains (Library/Keychains) when reset app
between sessions
Default: false |
LAUNCH_TIMEOUT
how long in ms to wait for Instruments to launch
Default: 90000 |
LOCALIZABLE_STRING_PATH
the relative path of the dir where Localizable.strings file
resides
Default: en.lproj Sample: --localizable-strings-dir en.lproj |
ORIENTATION
use LANDSCAPE or PORTRAIT to initialize all requests to this
orientation
Sample: --orientation LANDSCAPE |
SAFARI
Use the safari app
Default: false |
SHOW_IOS_LOG
if set, the iOS system log will be written to the console
Default: false |
SHOW_SIMULATOR_LOG
if set, the iOS simulator log will be written to the console
Default: false |
TRACE_DIRECTORY_ABSOLUTE_PATH
Absolute path to directory Appium use to save ios instruments traces,
defaults to /appium-instruments
Default: null |
TRACE_TEMPLATE_FILE_PATH
.tracetemplate file to use with Instruments
Sample: --tracetemplate /Users/me/Automation.tracetemplate |
USE_NATIVE_INSTRUMENTS
IOS has a weird built-in unavoidable delay.
|
Modifier and Type | Method and Description |
---|---|
String |
getArgument() |
static IOSServerFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IOSServerFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IOSServerFlag LOCALIZABLE_STRING_PATH
public static final IOSServerFlag IPA_ABSOLUTE_PATH
public static final IOSServerFlag BACK_END_RETRIES
public static final IOSServerFlag LAUNCH_TIMEOUT
public static final IOSServerFlag USE_NATIVE_INSTRUMENTS
public static final IOSServerFlag SAFARI
public static final IOSServerFlag DEFAULT_DEVICE
public static final IOSServerFlag FORCE_IPHONE_SIMULATOR
public static final IOSServerFlag FORCE_IPAD_SIMULATOR
public static final IOSServerFlag CALENDAR_FORMAT
public static final IOSServerFlag ORIENTATION
public static final IOSServerFlag TRACE_TEMPLATE_FILE_PATH
public static final IOSServerFlag CUSTOM_INSTRUMENTS_PATH
public static final IOSServerFlag SHOW_SIMULATOR_LOG
public static final IOSServerFlag SHOW_IOS_LOG
public static final IOSServerFlag KEEP_KEYCHAINS
public static final IOSServerFlag ISOLATE_SIM_DEVICE
public static final IOSServerFlag TRACE_DIRECTORY_ABSOLUTE_PATH
public static IOSServerFlag[] values()
for (IOSServerFlag c : IOSServerFlag.values()) System.out.println(c);
public static IOSServerFlag 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 © 2015. All rights reserved.