appium@1.6.3

HeminWon-Extranet:appium Hm$ appium -h
usage: appium [-h] [-v] [--shell] [--reboot] [--ipa IPA] [-a ADDRESS]
              [-p PORT] [-ca CALLBACKADDRESS] [-cp CALLBACKPORT]
              [-bp BOOTSTRAPPORT] [-r BACKENDRETRIES] [--session-override]
              [-l] [-g LOG]
              [--log-level {info,info:debug,info:info,info:warn,info:error,warn,warn:debug,warn:info,warn:warn,warn:error,error,error:debug,error:info,error:warn,error:error,debug,debug:debug,debug:info,debug:warn,debug:error}]
              [--log-timestamp] [--local-timezone] [--log-no-colors]
              [-G WEBHOOK] [--safari] [--default-device] [--force-iphone]
              [--force-ipad] [--tracetemplate AUTOMATIONTRACETEMPLATEPATH]
              [--instruments INSTRUMENTSPATH] [--nodeconfig NODECONFIG]
              [-ra ROBOTADDRESS] [-rp ROBOTPORT]
              [--selendroid-port SELENDROIDPORT]
              [--chromedriver-port CHROMEDRIVERPORT]
              [--chromedriver-executable CHROMEDRIVEREXECUTABLE]
              [--show-config] [--no-perms-check] [--strict-caps]
              [--isolate-sim-device] [--tmp TMPDIR] [--trace-dir TRACEDIR]
              [--debug-log-spacing] [--suppress-adb-kill-server]
              [--async-trace] [--webkit-debug-proxy-port WEBKITDEBUGPROXYPORT]
              [--webdriveragent-port WDALOCALPORT] [-dc DEFAULTCAPABILITIES]
              [--command-timeout DEFAULTCOMMANDTIMEOUT] [-k]
              [--platform-name PLATFORMNAME]
              [--platform-version PLATFORMVERSION]
              [--automation-name AUTOMATIONNAME] [--device-name DEVICENAME]
              [--browser-name BROWSERNAME] [--app APP] [-lt LAUNCHTIMEOUT]
              [--language LANGUAGE] [--locale LOCALE] [-U UDID]
              [--orientation ORIENTATION] [--no-reset] [--full-reset]
              [--app-pkg APPPACKAGE] [--app-activity APPACTIVITY]
              [--app-wait-package APPWAITPACKAGE]
              [--app-wait-activity APPWAITACTIVITY]
              [--device-ready-timeout DEVICEREADYTIMEOUT]
              [--android-coverage ANDROIDCOVERAGE] [--avd AVD]
              [--avd-args AVDARGS] [--use-keystore]
              [--keystore-path KEYSTOREPATH]
              [--keystore-password KEYSTOREPASSWORD] [--key-alias KEYALIAS]
              [--key-password KEYPASSWORD] [--intent-action INTENTACTION]
              [--intent-category INTENTCATEGORY] [--intent-flags INTENTFLAGS]
              [--intent-args OPTIONALINTENTARGUMENTS]
              [--dont-stop-app-on-reset] [--calendar-format CALENDARFORMAT]
              [--native-instruments-lib] [--keep-keychains]
              [--localizable-strings-dir LOCALIZABLESTRINGSDIR]
              [--show-ios-log]
              

A webdriver-compatible server for use with native and hybrid iOS and Android 
applications.

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  --shell               Enter REPL mode
  --reboot              (Android-only) reboot emulator after each session and 
                        kill it at the end
  --ipa IPA             (IOS-only) abs path to compiled .ipa file
  -a ADDRESS, --address ADDRESS
                        IP Address to listen on
  -p PORT, --port PORT  port to listen on
  -ca CALLBACKADDRESS, --callback-address CALLBACKADDRESS
                        callback IP Address (default: same as --address)
  -cp CALLBACKPORT, --callback-port CALLBACKPORT
                        callback port (default: same as port)
  -bp BOOTSTRAPPORT, --bootstrap-port BOOTSTRAPPORT
                        (Android-only) port to use on device to talk to Appium
  -r BACKENDRETRIES, --backend-retries BACKENDRETRIES
                        (iOS-only) How many times to retry launching 
                        Instruments before saying it crashed or timed out
  --session-override    Enables session override (clobbering)
  -l, --pre-launch      Pre-launch the application before allowing the first 
                        session (Requires --app and, for Android, --app-pkg 
                        and --app-activity)
  -g LOG, --log LOG     Also send log output to this file
  --log-level {info,info:debug,info:info,info:warn,info:error,warn,warn:debug,warn:info,warn:warn,warn:error,error,error:debug,error:info,error:warn,error:error,debug,debug:debug,debug:info,debug:warn,debug:error}
                        log level; default (console[:file]): debug[:debug]
  --log-timestamp       Show timestamps in console output
  --local-timezone      Use local timezone for timestamps
  --log-no-colors       Do not use colors in console output
  -G WEBHOOK, --webhook WEBHOOK
                        Also send log output to this HTTP listener
  --safari              (IOS-Only) Use the safari app
  --default-device, -dd
                        (IOS-Simulator-only) use the default simulator that 
                        instruments launches on its own
  --force-iphone        (IOS-only) Use the iPhone Simulator no matter what 
                        the app wants
  --force-ipad          (IOS-only) Use the iPad Simulator no matter what the 
                        app wants
  --tracetemplate AUTOMATIONTRACETEMPLATEPATH
                        (IOS-only) .tracetemplate file to use with Instruments
  --instruments INSTRUMENTSPATH
                        (IOS-only) path to instruments binary
  --nodeconfig NODECONFIG
                        Configuration JSON file to register appium with 
                        selenium grid
  -ra ROBOTADDRESS, --robot-address ROBOTADDRESS
                        IP Address of robot
  -rp ROBOTPORT, --robot-port ROBOTPORT
                        port for robot
  --selendroid-port SELENDROIDPORT
                        Local port used for communication with Selendroid
  --chromedriver-port CHROMEDRIVERPORT
                        Port upon which ChromeDriver will run. If not given, 
                        Android driver will pick a random available port.
  --chromedriver-executable CHROMEDRIVEREXECUTABLE
                        ChromeDriver executable full path
  --show-config         Show info about the appium server configuration and 
                        exit
  --no-perms-check      Bypass Appium's checks to ensure we can read/write 
                        necessary files
  --strict-caps         Cause sessions to fail if desired caps are sent in 
                        that Appium does not recognize as valid for the 
                        selected device
  --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.
  --tmp TMPDIR          Absolute path to directory Appium can use to manage 
                        temporary files, like built-in iOS apps it needs to 
                        move around. On *nix/Mac defaults to /tmp, on Windows 
                        defaults to C:\Windows\Temp
  --trace-dir TRACEDIR  Absolute path to directory Appium use to save ios 
                        instruments traces, defaults to <tmp 
                        dir>/appium-instruments
  --debug-log-spacing   Add exaggerated spacing in logs to help with visual 
                        inspection
  --suppress-adb-kill-server
                        (Android-only) If set, prevents Appium from killing 
                        the adb server instance
  --async-trace         Add long stack traces to log entries. Recommended for 
                        debugging only.
  --webkit-debug-proxy-port WEBKITDEBUGPROXYPORT
                        (IOS-only) Local port used for communication with 
                        ios-webkit-debug-proxy
  --webdriveragent-port WDALOCALPORT
                        (IOS-only, XCUITest-only) Local port used for 
                        communication with WebDriverAgent
  -dc DEFAULTCAPABILITIES, --default-capabilities DEFAULTCAPABILITIES
                        Set the default desired capabilities, which will be 
                        set on each session unless overridden by received 
                        capabilities.
  --command-timeout DEFAULTCOMMANDTIMEOUT
                        [DEPRECATED] No effect. This used to be the default 
                        command timeout for the server to use for all 
                        sessions (in seconds and should be less than 2147483).
                         Use newCommandTimeout cap instead
  -k, --keep-artifacts  [DEPRECATED] - no effect, trace is now in tmp dir by 
                        default and is cleared before each run. Please also 
                        refer to the --trace-dir flag.
  --platform-name PLATFORMNAME
                        [DEPRECATED] - Name of the mobile platform: iOS, 
                        Android, or FirefoxOS
  --platform-version PLATFORMVERSION
                        [DEPRECATED] - Version of the mobile platform
  --automation-name AUTOMATIONNAME
                        [DEPRECATED] - Name of the automation tool: Appium or 
                        Selendroid
  --device-name DEVICENAME
                        [DEPRECATED] - Name of the mobile device to use
  --browser-name BROWSERNAME
                        [DEPRECATED] - Name of the mobile browser: Safari or 
                        Chrome
  --app APP             [DEPRECATED] - IOS: abs path to simulator-compiled .
                        app file or the bundle_id of the desired target on 
                        device; Android: abs path to .apk file
  -lt LAUNCHTIMEOUT, --launch-timeout LAUNCHTIMEOUT
                        [DEPRECATED] - (iOS-only) how long in ms to wait for 
                        Instruments to launch
  --language LANGUAGE   [DEPRECATED] - Language for the iOS simulator / 
                        Android Emulator
  --locale LOCALE       [DEPRECATED] - Locale for the iOS simulator / Android 
                        Emulator
  -U UDID, --udid UDID  [DEPRECATED] - Unique device identifier of the 
                        connected physical device
  --orientation ORIENTATION
                        [DEPRECATED] - (IOS-only) use LANDSCAPE or PORTRAIT 
                        to initialize all requests to this orientation
  --no-reset            [DEPRECATED] - Do not reset app state between 
                        sessions (IOS: do not delete app plist files; 
                        Android: do not uninstall app before new session)
  --full-reset          [DEPRECATED] - (iOS) Delete the entire simulator 
                        folder. (Android) Reset app state by uninstalling app 
                        instead of clearing app data. On Android, this will 
                        also remove the app after the session is complete.
  --app-pkg APPPACKAGE  [DEPRECATED] - (Android-only) Java package of the 
                        Android app you want to run (e.g., com.example.
                        android.myApp)
  --app-activity APPACTIVITY
                        [DEPRECATED] - (Android-only) Activity name for the 
                        Android activity you want to launch from your package 
                        (e.g., MainActivity)
  --app-wait-package APPWAITPACKAGE
                        [DEPRECATED] - (Android-only) Package name for the 
                        Android activity you want to wait for (e.g., com.
                        example.android.myApp)
  --app-wait-activity APPWAITACTIVITY
                        [DEPRECATED] - (Android-only) Activity name for the 
                        Android activity you want to wait for (e.g., 
                        SplashActivity)
  --device-ready-timeout DEVICEREADYTIMEOUT
                        [DEPRECATED] - (Android-only) Timeout in seconds 
                        while waiting for device to become ready
  --android-coverage ANDROIDCOVERAGE
                        [DEPRECATED] - (Android-only) Fully qualified 
                        instrumentation class. Passed to -w in adb shell am 
                        instrument -e coverage true -w
  --avd AVD             [DEPRECATED] - (Android-only) Name of the avd to 
                        launch
  --avd-args AVDARGS    [DEPRECATED] - (Android-only) Additional emulator 
                        arguments to launch the avd
  --use-keystore        [DEPRECATED] - (Android-only) When set the keystore 
                        will be used to sign apks.
  --keystore-path KEYSTOREPATH
                        [DEPRECATED] - (Android-only) Path to keystore
  --keystore-password KEYSTOREPASSWORD
                        [DEPRECATED] - (Android-only) Password to keystore
  --key-alias KEYALIAS  [DEPRECATED] - (Android-only) Key alias
  --key-password KEYPASSWORD
                        [DEPRECATED] - (Android-only) Key password
  --intent-action INTENTACTION
                        [DEPRECATED] - (Android-only) Intent action which 
                        will be used to start activity
  --intent-category INTENTCATEGORY
                        [DEPRECATED] - (Android-only) Intent category which 
                        will be used to start activity
  --intent-flags INTENTFLAGS
                        [DEPRECATED] - (Android-only) Flags that will be used 
                        to start activity
  --intent-args OPTIONALINTENTARGUMENTS
                        [DEPRECATED] - (Android-only) Additional intent 
                        arguments that will be used to start activity
  --dont-stop-app-on-reset
                        [DEPRECATED] - (Android-only) When included, refrains 
                        from stopping the app before restart
  --calendar-format CALENDARFORMAT
                        [DEPRECATED] - (IOS-only) calendar format for the iOS 
                        simulator
  --native-instruments-lib
                        [DEPRECATED] - (IOS-only) IOS has a weird built-in 
                        unavoidable delay. We patch this in appium. If you do 
                        not want it patched, pass in this flag.
  --keep-keychains      [DEPRECATED] - (iOS-only) Whether to keep keychains 
                        (Library/Keychains) when reset app between sessions
  --localizable-strings-dir LOCALIZABLESTRINGSDIR
                        [DEPRECATED] - (IOS-only) the relative path of the 
                        dir where Localizable.strings file resides
  --show-ios-log        [DEPRECATED] - (IOS-only) if set, the iOS system log 
                        will be written to the console
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 199,830评论 5 468
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 83,992评论 2 376
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 146,875评论 0 331
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 53,837评论 1 271
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 62,734评论 5 360
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 48,091评论 1 277
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 37,550评论 3 390
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 36,217评论 0 254
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 40,368评论 1 294
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 35,298评论 2 317
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 37,350评论 1 329
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 33,027评论 3 315
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 38,623评论 3 303
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 29,706评论 0 19
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 30,940评论 1 255
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 42,349评论 2 346
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 41,936评论 2 341

推荐阅读更多精彩内容