Skip to content

Instantly share code, notes, and snippets.

@tekisrinivas20
Created October 21, 2016 18:00
Show Gist options
  • Save tekisrinivas20/26913b2879d63859c1e6787281a2c5b8 to your computer and use it in GitHub Desktop.
Save tekisrinivas20/26913b2879d63859c1e6787281a2c5b8 to your computer and use it in GitHub Desktop.
> info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
> info: Appium REST http interface listener started on 127.0.0.1:4723
> info: [debug] Non-default server args: {"address":"127.0.0.1","sessionOverride":true,"logNoColors":true,"platformName":"Android","platformVersion":"23","automationName":"Appium"}
> info: Console LogLevel: debug
> info: --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.android.ctoomum","appActivity":"CordovaApp","orientation":"LANDSCAPE","newCommandTimeout":"40","platformVersion":"5.0.2","platformName":"Android","deviceName":"SamsungDS5"}}
> info: Client User-Agent string: Apache-HttpClient/4.5.1 (Java/1.8.0_101)
> info: [debug] Didn't get app but did get Android package, will attempt to launch it on the device
> info: [debug] Creating new appium session d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_101
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\Android_sdk\platform-tools\adb.exe
> warn: No app capability, can't parse package/activity
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Not checking whether app is present since we are assuming it's already on the device
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device 33008d48cee13247
> info: [debug] Setting device id to 33008d48cee13247
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 wait-for-device
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 21
> info: Device API level is: 21
> info: [debug] Extracting strings for language: default
> info: [debug] Apk doesn't exist locally
> info: [debug] Could not get strings, but it looks like we had an old strings file anyway, so ignoring
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "rm -rf /data/local/tmp/strings.json"
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Skipping install since we launched with a package instead of an app path
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 push "D:\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 install "D:\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 install "D:\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.android.ctoomum -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
> info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
> info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
> info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
> info: [debug] [BOOTSTRAP] [debug] Loading json...
> info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
> info: [debug] Waking up device if it's not alive
> info: [debug] Pushing command to appium work queue: ["wake",{}]
> info: [debug] [BOOTSTRAP] [debug] Client connected
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: wake
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "dumpsys window"
> info: [debug] Screen already unlocked, continuing.
> info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
> info: [debug] dataDir set to: /data/local/tmp
> info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 21
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.android.ctoomum/CordovaApp"
> info: [debug] We tried to start an activity that doesn't exist, retrying with . prepended to activity
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 21
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.android.ctoomum/.CordovaApp"
> info: [debug] Waiting for pkg "com.android.ctoomum" and activity "CordovaApp" to be focused
> info: [debug] Getting focused package and activity
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "dumpsys window windows"
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "getprop ro.build.version.release"
> info: [debug] Device is at release version 5.0.2
> info: [debug] Device launched! Ready for commands
> info: [debug] Setting command timeout to 40 secs
> info: [debug] Appium session started with sessionId d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4
> info: <-- POST /wd/hub/session 303 29192.805 ms - 74
> info: --> GET /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4 {}
> info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.0.2","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.android.ctoomum","appActivity":"CordovaApp","orientation":"LANDSCAPE","newCommandTimeout":"40","platformVersion":"5.0.2","platformName":"Android","deviceName":"SamsungDS5"},"appPackage":"com.android.ctoomum","appActivity":"CordovaApp","orientation":"LANDSCAPE","newCommandTimeout":"40","platformName":"Android","deviceName":"33008d48cee13247"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- GET /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4 200 6.241 ms - 689 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"5.0.2","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.android.ctoomum","appActivity":"CordovaApp","orientation":"LANDSCAPE","newCommandTimeout":"40","platformVersion":"5.0.2","platformName":"Android","deviceName":"SamsungDS5"},"appPackage":"com.android.ctoomum","appActivity":"CordovaApp","orientation":"LANDSCAPE","newCommandTimeout":"40","platformName":"Android","deviceName":"33008d48cee13247"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/timeouts {"type":"implicit","ms":40000}
> info: [debug] Set Android implicit wait to 40000ms
> info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/timeouts 200 3.797 ms - 76 {"status":0,"value":null,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> GET /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/contexts {}
> info: [debug] Getting a list of available webviews
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "cat /proc/net/unix"
> info: [debug] WEBVIEW_17264 mapped to pid 17264
> info: [debug] Getting process name for webview
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "ps"
> info: [debug] Parsed pid: 17264 pkg: com.android.ctoomum
> info: [debug] from: u0_a217,17264,2330,2167092,205400,ffffffff,00000000,S,com.android.ctoomum
> info: [debug] returning process name: com.android.ctoomum
> info: [debug] Available contexts:
> info: [debug] ["WEBVIEW_com.android.ctoomum"]
> info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.android.ctoomum
> info: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_com.android.ctoomum"],"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- GET /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/contexts 200 596.695 ms - 116 {"status":0,"value":["NATIVE_APP","WEBVIEW_com.android.ctoomum"],"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element {"using":"name","value":"User Name"}
> warn: [DEPRECATED] The name locator strategy has been deprecated and will be removed. Please use the accessibility id locator strategy instead.
> info: [debug] Waiting up to 40000ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"name","selector":"User Name","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"name","selector":"User Name","context":"","multiple":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: find
> info: [debug] [BOOTSTRAP] [debug] Finding User Name using NAME with the contextId: multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=User Name, INSTANCE=0]
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[TEXT=User Name, INSTANCE=0]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element 200 55.727 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element/1/value {"id":"1","value":["nathan"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"1","text":"nathan","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"1","text":"nathan","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: nathan
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element/1/value 200 6013.531 ms - 76 {"status":0,"value":true,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element {"using":"xpath","value":".//*[@resource-id='passwordid-inputEl']"}
> info: [debug] Waiting up to 40000ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"xpath","selector":".//*[@resource-id='passwordid-inputEl']","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"xpath","selector":".//*[@resource-id='passwordid-inputEl']","context":"","multiple":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: find
> info: [debug] [BOOTSTRAP] [debug] Finding .//*[@resource-id='passwordid-inputEl'] using XPATH with the contextId: multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[CLASS=android.widget.EditText, INSTANCE=1]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"2"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element 200 665.177 ms - 87 {"status":0,"value":{"ELEMENT":"2"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element/2/value {"id":"2","value":["nathan"]}
> info: [debug] Pushing command to appium work queue: ["element:setText",{"elementId":"2","text":"nathan","replace":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"2","text":"nathan","replace":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: setText
> info: [debug] [BOOTSTRAP] [debug] Using element passed in.
> info: [debug] [BOOTSTRAP] [debug] Attempting to clear using UiObject.clearText().
> info: [debug] [BOOTSTRAP] [debug] Text remains after clearing, but it appears to be hint text.
> info: [debug] [BOOTSTRAP] [debug] Text not cleared. Assuming remainder is hint text.
> info: [debug] [BOOTSTRAP] [debug] Sending plain text to element: nathan
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element/2/value 200 5606.180 ms - 76 {"status":0,"value":true,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element {"using":"accessibility id","value":"LOGIN"}
> info: [debug] Waiting up to 40000ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"accessibility id","selector":"LOGIN","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"accessibility id","selector":"LOGIN","context":"","multiple":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: find
> info: [debug] [BOOTSTRAP] [debug] Finding LOGIN using ACCESSIBILITY_ID with the contextId: multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[DESCRIPTION=LOGIN, INSTANCE=0]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"3"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element 200 604.773 ms - 87 {"status":0,"value":{"ELEMENT":"3"},"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element/3/click {"id":"3"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"3"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"3"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/element/3/click 200 134.820 ms - 76 {"status":0,"value":true,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/context {"name":"WEBVIEW_com.android.ctoomum"}
> info: [debug] Getting a list of available webviews
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "cat /proc/net/unix"
> info: [debug] WEBVIEW_17264 mapped to pid 17264
> info: [debug] Getting process name for webview
> info: [debug] executing cmd: D:\Android_sdk\platform-tools\adb.exe -s 33008d48cee13247 shell "ps"
> info: [debug] Parsed pid: 17264 pkg: com.android.ctoomum
> info: [debug] from: u0_a217,17264,2330,2221460,236520,ffffffff,00000000,S,com.android.ctoomum
> info: [debug] returning process name: com.android.ctoomum
> info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.android.ctoomum
> info: [debug] ["WEBVIEW_com.android.ctoomum"]
> info: [debug] Available contexts: NATIVE_APP,WEBVIEW_com.android.ctoomum
> info: [debug] Connecting to chrome-backed webview
> info: Chromedriver: Changed state to 'starting'
> info: Chromedriver: Set chromedriver binary as: D:\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe
> info: Chromedriver: Killing any old chromedrivers, running: FOR /F "usebackq tokens=5" %a in (`netstat -nao ^| findstr /R /C:"9515 "`) do (FOR /F "usebackq" %b in (`TASKLIST /FI "PID eq %a" ^| findstr /I chromedriver.exe`) do (IF NOT %b=="" TASKKILL /F /PID %a))
> info: Chromedriver: No old chromedrivers seemed to exist
> info: Chromedriver: Spawning chromedriver with: D:\Appium\node_modules\appium\node_modules\appium-chromedriver\chromedriver\win\chromedriver.exe --url-base=wd/hub --port=9515
> info: Chromedriver: [STDOUT] Starting ChromeDriver 2.24.417431 (9aea000394714d2fbb20850021f6204f2256b9cf) on port 9515
> Only local connections are allowed.
> info: JSONWP Proxy: Proxying [GET /status] to [GET http://127.0.0.1:9515/wd/hub/status] with no body
> info: JSONWP Proxy: Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Windows NT\",\"version\":\"6.1.7601 SP1\"}}}"
> info: JSONWP Proxy: Proxying [POST /session] to [POST http://127.0.0.1:9515/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.android.ctoomum","androidUseRunningApp":true,"androidDeviceSerial":"33008d48cee13247"}}}
> info: JSONWP Proxy: Got response with status 200: {"sessionId":"619c6e5cd79ea947acba0ddb5d5e4451","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedr...
> info: Chromedriver: Changed state to 'online'
> info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: <-- POST /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/context 200 9265.032 ms - 76 {"status":0,"value":null,"sessionId":"d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4"}
> info: --> GET /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/screenshot {}
> info: JSONWP Proxy: Proxying [GET /wd/hub/session/d451d7d1-26e3-4ec3-a11f-f2bbd9a512c4/screenshot] to [GET http://127.0.0.1:9515/wd/hub/session/619c6e5cd79ea947acba0ddb5d5e4451/screenshot] with body: {}
> info: [debug] Didn't get a new command in 40 secs, shutting down...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment