Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Appium 1.6.1 - Target API 23
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/qa/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0184b3a5550beebd","shell","ps"]
[debug] [AndroidDriver] Parsed pid: 9715 pkg: com.qa.unitytest!
[debug] [AndroidDriver] from: u0_a924,9715,174,1129248,105852,ffffffff,00000000,S,com.qa.unitytest
[debug] [AndroidDriver] returning process name: com.qa.unitytest
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.qa.unitytest"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.qa.unitytest"]
[debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.qa.unitytest'
[debug] [AndroidDriver] A port was not given, using random port: 8000
[debug] [Chromedriver] Changed state to 'starting'
[Chromedriver] Set chromedriver binary as: /Users/qa/qa-qa-tools/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver
[Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/qa/qa-qa-tools/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver.*--port=8000"
[Chromedriver] No old chromedrivers seemed to exist
[Chromedriver] Spawning chromedriver with: /Users/qa/qa-qa-tools/node_modules/appium/node_modules/appium-chromedriver/chromedriver/mac/chromedriver --url-base=wd/hub --port=8000 --adb-port=5037
[Chromedriver] [STDOUT] Starting ChromeDriver 2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1) on port 8000
Only local connections are allowed.
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"\",\"status\":0,\"value\":{\"build\":{\"version\":\"alpha\"},\"os\":{\"arch\":\"x86_64\",\"name\":\"Mac OS X\",\"version\":\"10.10.5\"}}}"
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"desiredCapabilities":{"chromeOptions":{"androidPackage":"com.qa.unitytest","androidUseRunningApp":true,"androidDeviceSerial":"0184b3a5550beebd"}}}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"a45ccde9d638d08c6bb12461c335dd62","status":0,"value":{"acceptSslCerts":true,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"browserName":"chrome","chrome":{"chromedriverVersion":"2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1)"},"cssSelectorsEnabled":true,"databaseEnabled":false,"handlesAlerts":true,"hasTouchScreen":false,"javascriptEnabled":true,"locationContextEnabled":true,"mobileEmulationEnabled":false,"nativeEvents":true,"pageLoadStrategy":"normal","platform":"ANDROID","rotatable":false,"takesHeapSnapshot":true,"takesScreenshot":true,"version":"30.0.0.0","webStorageEnabled":true}}
[debug] [Chromedriver] Changed state to 'online'
[debug] [MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/context 200 1423 ms - 76
[HTTP] --> POST /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/execute {"sessionId":"6d6f2a87-a8ed-4133-b78f-0e770bbab444","args":[],"script":"success()"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/execute] to [POST http://127.0.0.1:8000/wd/hub/session/a45ccde9d638d08c6bb12461c335dd62/execute] with body: {"sessionId":"6d6f2a87-a8ed-4133-b78f-0e770bbab444","args":[],"script":"success()"}
[debug] [JSONWP Proxy] Got response with status 200: {"sessionId":"a45ccde9d638d08c6bb12461c335dd62","status":0,"value":null}
[JSONWP Proxy] Replacing sessionId a45ccde9d638d08c6bb12461c335dd62 with 6d6f2a87-a8ed-4133-b78f-0e770bbab444
[HTTP] <-- POST /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/execute 200 84 ms - 76
[HTTP] --> GET /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/context {}
[debug] [MJSONWP] Calling AppiumDriver.getCurrentContext() with args: ["6d6f2a87-a8ed-4133-b78f-0e770bbab444"]
[debug] [MJSONWP] Responding to client with driver.getCurrentContext() result: "WEBVIEW_com.qa.unitytest"
[HTTP] <-- GET /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/context 200 3 ms - 107
[HTTP] --> POST /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/context {"sessionId":"6d6f2a87-a8ed-4133-b78f-0e770bbab444","name":"NATIVE_APP"}
[debug] [MJSONWP] Calling AppiumDriver.setContext() with args: ["NATIVE_APP","6d6f2a87-a8ed-4133-b78f-0e770bbab444"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/qa/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0184b3a5550beebd","shell","cat","/proc/net/unix"]
[debug] [AndroidDriver] WEBVIEW_9715 mapped to pid 9715
[debug] [AndroidDriver] Getting process name for webview
[debug] [ADB] Getting connected devices...
[debug] [ADB] 1 device(s) connected
[debug] [ADB] Running '/Users/qa/Library/Android/sdk/platform-tools/adb' with args: ["-P",5037,"-s","0184b3a5550beebd","shell","ps"]
[debug] [AndroidDriver] Parsed pid: 9715 pkg: com.qa.unitytest!
[debug] [AndroidDriver] from: u0_a924,9715,174,1090076,106360,ffffffff,00000000,S,com.qa.unitytest
[debug] [AndroidDriver] returning process name: com.qa.unitytest
[debug] [AndroidDriver] Found webviews: ["WEBVIEW_com.qa.unitytest"]
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.qa.unitytest"]
[debug] [AndroidDriver] recreateChromeDriverSessions set to true; killing existing chromedrivers
[debug] [AndroidDriver] Stopping chromedriver for context WEBVIEW_com.qa.unitytest
[debug] [Chromedriver] Changed state to 'stopping'
[debug] [JSONWP Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8000/wd/hub/session/a45ccde9d638d08c6bb12461c335dd62] with no body
[debug] [MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/6d6f2a87-a8ed-4133-b78f-0e770bbab444/context 200 134 ms - 76
[debug] [JSONWP Proxy] Got response with status 200: "{\"sessionId\":\"a45ccde9d638d08c6bb12461c335dd62\",\"status\":0,\"value\":null}"
[debug] [Chromedriver] Changed state to 'stopped'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment