Skip to content

Instantly share code, notes, and snippets.

@easyforgood
Created March 10, 2016 08:30
Show Gist options
  • Save easyforgood/700e33ac69828d42c0e2 to your computer and use it in GitHub Desktop.
Save easyforgood/700e33ac69828d42c0e2 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","logNoColors":true,"deviceName":"emulator-5554","platformName":"Android","platformVersion":"18","automationName":"Appium"}
> info: Console LogLevel: debug
> info: --> POST /wd/hub/session {"desiredCapabilities":{"app":"D:\\JAVAWORKSPACE\\TestforAppium\\bin\\TestforAppium.apk","appPackage":"com.example.testforappium","appActivity":".MainActivity","platformVersion":"4.3.1","automationName":"Selendroid","platformName":"Android","deviceName":"emulator-5554"}}
> info: Client User-Agent string: Apache-HttpClient/4.3.3 (java 1.5)
> info: [debug] Using local app from desired caps: D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk
> info: [debug] Creating new appium session 517975c1-90e4-4391-923b-b4a2a1034ed3
> info: [debug] Starting selendroid server
> info: [debug] Getting Java version
> info: Java version is: 1.8.0_71
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\android-sdk\platform-tools\adb.exe
> info: [debug] Checking whether selendroid is built yet
> info: [debug] Selendroid server exists!
> info: [debug] Using fast reset? true
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> 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 emulator-5554
> info: [debug] Setting device id to emulator-5554
> 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 emulator-5554 wait-for-device
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\android-sdk\build-tools\23.0.2\aapt.exe
> info: [debug] Checking if has internet permission from manifest.
> info: [debug] executing cmd: D:\android-sdk\build-tools\23.0.2\aapt.exe dump badging D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk
> info: [debug] Rebuilt selendroid server already exists, no need to rebuild it with a new manifest
> info: [debug] Checking signed status of C:\Users\fx30560\AppData\Local\Temp\selendroid.com.example.testforappium.apk
> info: [debug] Checking app cert for C:\Users\fx30560\AppData\Local\Temp\selendroid.com.example.testforappium.apk.
> info: [debug] executing cmd: java -jar "D:\Program Files\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" C:\Users\fx30560\AppData\Local\Temp\selendroid.com.example.testforappium.apk
> info: [debug] Checking signed status of D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk
> info: [debug] Checking app cert for D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk.
> info: [debug] executing cmd: java -jar "D:\Program Files\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\android-sdk\build-tools\23.0.2\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\android-sdk\build-tools\23.0.2\zipalign.exe -f 4 D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk C:\Users\fx30560\AppData\Local\Temp\116210-7920-10oitaj\appium.tmp
> info: [debug] App already signed.
> info: [debug] Zip-aligning C:\Users\fx30560\AppData\Local\Temp\selendroid.com.example.testforappium.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\android-sdk\build-tools\23.0.2\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\android-sdk\build-tools\23.0.2\zipalign.exe -f 4 C:\Users\fx30560\AppData\Local\Temp\selendroid.com.example.testforappium.apk C:\Users\fx30560\AppData\Local\Temp\116210-7920-upnl96\appium.tmp
> info: [debug] Rebuilt selendroid apk exists, doing nothing
> info: [debug] Getting install status for com.example.testforappium.selendroid
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "getprop ro.build.version.sdk"
> info: [debug] MD5 for selendroid server is 5979542c9a4f787f12fc3c6d11397160
> info: [debug] Device is at API Level 18
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "pm list packages -3 com.example.testforappium.selendroid"
> info: [debug] App is installed
> info: [debug] Rebuilt selendroid is already installed
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language: en
> info: [debug] java -jar "D:\Program Files\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk" "C:\Users\fx30560\AppData\Local\Temp\com.example.testforappium" en
> info: [debug] No strings.xml for language 'en', getting default strings.xml
> info: [debug] java -jar "D:\Program Files\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools.jar" "stringsFromApk" "D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk" "C:\Users\fx30560\AppData\Local\Temp\com.example.testforappium"
> info: [debug] Reading strings from converted strings.json
> info: [debug] Setting language to default
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk.
> info: [debug] executing cmd: java -jar "D:\Program Files\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\android-sdk\build-tools\23.0.2\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\android-sdk\build-tools\23.0.2\zipalign.exe -f 4 D:\JAVAWORKSPACE\TestforAppium\bin\TestforAppium.apk C:\Users\fx30560\AppData\Local\Temp\116210-7920-1rowjql\appium.tmp
> info: [debug] MD5 for app is bdf98acea28c96c577389c8631fad300
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "ls /data/local/tmp/bdf98acea28c96c577389c8631fad300.apk"
> info: [debug] Getting install status for com.example.testforappium
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 18
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "pm list packages -3 com.example.testforappium"
> info: [debug] App is not installed
> info: Installing App
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "mkdir -p /data/local/tmp/"
> info: [debug] Removing any old apks
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "ls /data/local/tmp/*.apk"
> info: [debug] Found an apk we want to keep at /data/local/tmp/bdf98acea28c96c577389c8631fad300.apk
> info: [debug] Couldn't find any apks to remove
> info: [debug] Uninstalling com.example.testforappium
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "am force-stop com.example.testforappium"
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 uninstall com.example.testforappium
> info: [debug] App was not uninstalled, maybe it wasn't on device?
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "pm install -r /data/local/tmp/bdf98acea28c96c577389c8631fad300.apk"
> info: [debug] Forwarding system:8080 to device:8080
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:8080 tcp:8080
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 install "D:\Program Files\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 emulator-5554 install "D:\Program Files\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "dumpsys window"
> info: [debug] Screen already unlocked, continuing.
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "am instrument -e main_activity 'com.example.testforappium.MainActivity' com.example.testforappium.selendroid/io.selendroid.server.ServerInstrumentation"
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET"}
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET"}
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET"}
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET"}
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET"}
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET"}
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/status","method":"GET"}
> info: [debug] Selendroid server is alive!
> info: [debug] Listening for Selendroid logs
> info: [debug] Creating Selendroid session
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session","method":"POST","json":{"desiredCapabilities":{"warnings":{},"desired":{"app":"D:\\JAVAWORKSPACE\\TestforAppium\\bin\\TestforAppium.apk","appPackage":"com.example.testforappium","appActivity":".MainActivity","platformVersion":"4.3.1","automationName":"Selendroid","platformName":"Android","deviceName":"emulator-5554"},"app":"D:\\JAVAWORKSPACE\\TestforAppium\\bin\\TestforAppium.apk","appPackage":"com.example.testforappium","appActivity":".MainActivity","platformVersion":"4.3.1","automationName":"Selendroid","platformName":"Android","deviceName":"emulator-5554"}}}
> info: [debug] Successfully started selendroid session
> info: [debug] Waiting for pkg "com.example.testforappium" and activity ".MainActivity" to be focused
> info: [debug] Getting focused package and activity
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "dumpsys window windows"
> info: [debug] Overriding session id with "860b4876-c367-f05c-d73a-6e97d8c17b86"
> info: [debug] Device launched! Ready for commands
> info: [debug] Setting command timeout to the default of 60 secs
> info: [debug] Appium session started with sessionId 860b4876-c367-f05c-d73a-6e97d8c17b86
> info: <-- POST /wd/hub/session 303 119191.493 ms - 74
> info: --> GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86 {}
> info: [debug] Proxying command to localhost:8080
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86","method":"GET"}
> info: [debug] Proxied response received with status 200: {"value":{"automationName":"selendroid","platform":"android","app":"D:\\JAVAWORKSPACE\\TestforAppium\\bin\\TestforAppium.apk","acceptSslCerts":true,"javascriptEnabled":true,"browserName":"selendroid","appActivity":".MainActivity","networkConnectionEnabled":true,"rotatable":true,"desired":{"automationName":"Selendroid","app":"D:\\JAVAWORKSPACE\\TestforAppium\\bin\\TestforAppium.apk","platformVersion":"4.3.1","platformName":"Android","deviceName":"emulator-5554","appPackage":"com.example.testforappium","appActivity":".MainActivity"},"appPackage":"com.example.testforappium","version":"0.17.0","platformVersion":"18","platformName":"android","deviceName":"emulator-5554","handlesAlerts":true,"warnings":{},"takesScreenshot":true},"status":0,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86 200 122.113 ms - 795
> info: --> GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/appium/device/current_activity {}
> info: [debug] Getting focused package and activity
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "dumpsys window windows"
> info: [debug] Responding to client with success: {"status":0,"value":".MainActivity","sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/appium/device/current_activity 200 421.769 ms - 87 {"status":0,"value":".MainActivity","sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: --> GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/source {}
> info: [debug] Proxying command to localhost:8080
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/source","method":"GET"}
> info: [debug] Proxied response received with status 200: {"value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><views><DecorView name=\"\" label=\"\" value=\"\" ref=\"93cc6b6e-5b55-6422-65ac-cd3dfed70d95\" id=\"\" shown=\"true\" error=\"\"><rect x=\"0\" y=\"0\" height=\"1184\" width=\"768\"/><ActionBarOverlayLayout name=\"\" label=\"\" value=\"\" ref=\"9021175e-66e4-a81c-8636-a6832bac91da\" id=\"action_bar_overlay_layout\" shown=\"true\" error=\"\"><rect x=\"0\" y=\"0\" height=\"1184\" width=\"768\"/><FrameLayout name=\"\" label=\"\" value=\"\" ref=\"d4956fa9-573b-dbf5-6f2a-e912e73d263a\" id=\"content\" shown=\"true\" error=\"\"><rect x=\"0\" y=\"146\" height=\"1038\" width=\"768\"/><LinearLayout name=\"\" label=\"\" value=\"\" ref=\"b603a81c-f5f0-a3df-6fda-9000c3299c2f\" id=\"\" shown=\"true\" error=\"\"><rect x=\"0\" y=\"146\" height=\"1038\" width=\"768\"/><TextView name=\"\" label=\"\" value=\"Hello world!\" ref=\"af97d501-4a2b-5ad3-e8cb-cc39119f43a7\" id=\"\" shown=\"true\" error=\"\"><rect x=\"32\" y=\"178\" height=\"38\" width=\"149\"/></TextView><WebView name=\"\" label=\"\" value=\"\" ref=\"f25f9bbd-de2f-1f4a-3232-26b7480adc61\" id=\"webView1\" shown=\"true\" error=\"\"><rect x=\"32\" y=\"216\" height=\"936\" width=\"704\"/></WebView></LinearLayout></FrameLayout><LinearLayout name=\"\" label=\"\" value=\"\" ref=\"a723606a-373c-9d35-76c9-2b379f8b9e07\" id=\"top_action_bar\" shown=\"true\" error=\"\"><rect x=\"0\" y=\"50\" height=\"96\" width=\"768\"/><ActionBarContainer name=\"\" label=\"\" value=\"\" ref=\"a06b3b47-0ace-2b49-23f8-cde5580c383e\" id=\"action_bar_container\" shown=\"true\" error=\"\"><rect x=\"0\" y=\"50\" height=\"96\" width=\"768\"/><ActionBarView name=\"\" label=\"\" value=\"\" ref=\"e8503260-a04f-0f69-9e6b-d4c3e994a09f\" id=\"action_bar\" shown=\"true\" error=\"\"><rect x=\"0\" y=\"50\" height=\"96\" width=\"768\"/><LinearLayout name=\"MainActivity, Navigate home\" label=\"\" value=\"\" ref=\"c9be6ad5-3f03-d752-9f1b-7bb0c5811694\" id=\"\" shown=\"true\" error=\"\"><rect x=\"17\" y=\"50\" height=\"96\" width=\"296\"/><HomeView name=\"Navigate home\" label=\"\" value=\"\" ref=\"213b8732-e363-da8d-cf44-a72a987e0cd0\" id=\"\" shown=\"true\" error=\"\"><rect x=\"17\" y=\"50\" height=\"96\" width=\"80\"/><ImageView name=\"\" label=\"\" value=\"\" ref=\"073fe8ba-b3a5-8d7f-e747-fe823c5f9d6f\" id=\"up\" shown=\"false\" error=\"\"><rect x=\"17\" y=\"50\" height=\"0\" width=\"0\"/></ImageView><ImageView name=\"\" label=\"\" value=\"\" ref=\"d451174c-6dcf-505f-15ec-a38615f115a5\" id=\"home\" shown=\"true\" error=\"\"><rect x=\"25\" y=\"66\" height=\"64\" width=\"64\"/></ImageView></HomeView><LinearLayout name=\"\" label=\"\" value=\"\" ref=\"b9b6f5d7-819d-fd30-c1d4-0abb5afd1497\" id=\"\" shown=\"true\" error=\"\"><rect x=\"97\" y=\"50\" height=\"96\" width=\"216\"/><ImageView name=\"\" label=\"\" value=\"\" ref=\"b4bcff07-e2e5-17c7-8c5b-cc9a31650ffa\" id=\"up\" shown=\"false\" error=\"\"><rect x=\"97\" y=\"50\" height=\"0\" width=\"0\"/></ImageView><LinearLayout name=\"\" label=\"\" value=\"\" ref=\"f9e75603-7c32-2342-33ce-f377177912ba\" id=\"\" shown=\"true\" error=\"\"><rect x=\"97\" y=\"74\" height=\"48\" width=\"200\"/><TextView name=\"\" label=\"\" value=\"MainActivity\" ref=\"90d930cb-ebf6-68a7-e2a0-21c4e7ed85b9\" id=\"action_bar_title\" shown=\"true\" error=\"\"><rect x=\"97\" y=\"74\" height=\"48\" width=\"200\"/></TextView><TextView name=\"\" label=\"\" value=\"\" ref=\"152961b3-8a15-544e-5f85-a41666f1aa26\" id=\"action_bar_subtitle\" shown=\"false\" error=\"\"><rect x=\"97\" y=\"74\" height=\"0\" width=\"0\"/></TextView></LinearLayout></LinearLayout></LinearLayout><ActionMenuView name=\"\" label=\"\" value=\"\" ref=\"0eec85fe-b755-ae42-7d3c-c8a54cc30b01\" id=\"\" shown=\"true\" error=\"\"><rect x=\"768\" y=\"50\" height=\"96\" width=\"0\"/></ActionMenuView></ActionBarView><ActionBarContextView name=\"\" label=\"\" value=\"\" ref=\"f5f3383d-b136-61b6-1f80-9dd5b11d1740\" id=\"action_context_bar\" shown=\"false\" error=\"\"><rect x=\"0\" y=\"50\" height=\"0\" width=\"0\"/></ActionBarContextView></ActionBarContainer><ImageView name=\"\" label=\"\" value=\"\" ref=\"4f1ce629-b1e9-d454-ef37-b162093f0924\" id=\"\" shown=\"true\" error=\"\"><rect x=\"768\" y=\"50\" height=\"32\" width=\"0\"/></ImageView></LinearLayout><ActionBarContainer name=\"\" label=\"\" value=\"\" ref=\"2f715233-3a7c-ca3c-1343-e64b590526c7\" id=\"split_action_bar\" shown=\"false\" error=\"\"><rect x=\"0\" y=\"0\" height=\"0\" width=\"0\"/></ActionBarContainer></ActionBarOverlayLayout></DecorView></views>","status":0,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/source 200 667.953 ms - 4581
> info: --> POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts {"type":"implicit","ms":10000}
> info: [debug] Proxying command to localhost:8080
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts","method":"POST","json":{"type":"implicit","ms":10000}}
> info: [debug] Proxied response received with status 200: {"status":0,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts 200 53.481 ms - 63
> info: --> POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts {"type":"page load","ms":10000}
> info: [debug] Proxying command to localhost:8080
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts","method":"POST","json":{"type":"page load","ms":10000}}
> info: [debug] Proxied response received with status 200: {"status":0,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts 200 35.002 ms - 63
> info: --> GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/contexts {}
> info: [debug] Getting a list of available webviews
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "cat /proc/net/unix"
> info: [debug] Available contexts: undefined
> info: [debug] []
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/window_handles","method":"GET"}
> info: [debug] Available contexts: ["NATIVE_APP","WEBVIEW_0"]
> info: [debug] Responding to client with success: {"status":0,"value":["NATIVE_APP","WEBVIEW_0"],"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- GET /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/contexts 200 281.003 ms - 98 {"status":0,"value":["NATIVE_APP","WEBVIEW_0"],"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: --> POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/context {"name":"WEBVIEW_0"}
> info: [debug] Getting a list of available webviews
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "cat /proc/net/unix"
> info: [debug] Available contexts: NATIVE_APP,WEBVIEW_0
> info: [debug] []
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/window_handles","method":"GET"}
> info: [debug] Available contexts: ["NATIVE_APP","WEBVIEW_0"]
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/context","method":"POST","json":{"name":"WEBVIEW_0"}}
> info: [debug] [SELENDROID] Unable to resolve superclass of Lio/selendroid/server/model/SelendroidWebDriver$ExtendedSystemWebChromeClient; (1841)
> info: [debug] [SELENDROID] Link of class 'Lio/selendroid/server/model/SelendroidWebDriver$ExtendedSystemWebChromeClient;' failed
> info: [debug] [SELENDROID] Could not find class 'io.selendroid.server.model.SelendroidWebDriver$ExtendedSystemWebChromeClient', referenced from method io.selendroid.server.model.SelendroidWebDriver.encapulateWebChromeClientForView
> info: [debug] [SELENDROID] unable to resolve new-instance 1456 (Lio/selendroid/server/model/SelendroidWebDriver$ExtendedSystemWebChromeClient;) in Lio/selendroid/server/model/SelendroidWebDriver;
> info: [debug] [SELENDROID] Unable to resolve superclass of Lio/selendroid/server/model/SelendroidWebDriver$SelendroidSystemWebViewClient; (1843)
> info: [debug] [SELENDROID] Link of class 'Lio/selendroid/server/model/SelendroidWebDriver$SelendroidSystemWebViewClient;' failed
> info: [debug] [SELENDROID] Could not find class 'io.selendroid.server.model.SelendroidWebDriver$SelendroidSystemWebViewClient', referenced from method io.selendroid.server.model.SelendroidWebDriver.encapulateWebViewClientForView
> info: [debug] [SELENDROID] unable to resolve new-instance 1458 (Lio/selendroid/server/model/SelendroidWebDriver$SelendroidSystemWebViewClient;) in Lio/selendroid/server/model/SelendroidWebDriver;
> info: [debug] [SELENDROID] Unable to resolve superclass of Lio/selendroid/server/model/SelendroidWebDriver$ExtendedSystemWebChromeClient; (1841)
> info: [debug] [SELENDROID] Link of class 'Lio/selendroid/server/model/SelendroidWebDriver$ExtendedSystemWebChromeClient;' failed
> info: [debug] [SELENDROID] Unable to resolve superclass of Lio/selendroid/server/model/SelendroidWebDriver$SelendroidSystemWebViewClient; (1843)
> info: [debug] [SELENDROID] Link of class 'Lio/selendroid/server/model/SelendroidWebDriver$SelendroidSystemWebViewClient;' failed
> info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/context 200 904.860 ms - 76 {"status":0,"value":null,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: --> POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/context {"name":"WEBVIEW_0"}
> info: [debug] Getting a list of available webviews
> info: [debug] executing cmd: D:\android-sdk\platform-tools\adb.exe -s emulator-5554 shell "cat /proc/net/unix"
> info: [debug] Available contexts: NATIVE_APP,WEBVIEW_0
> info: [debug] []
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/window_handles","method":"GET"}
> info: [debug] Available contexts: ["NATIVE_APP","WEBVIEW_0"]
> info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/context 200 269.353 ms - 76 {"status":0,"value":null,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: --> POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/element {"using":"link text","value":"click app me"}
> info: [debug] Proxying command to localhost:8080
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/element","method":"POST","json":{"using":"link text","value":"click app me"}}
> info: [debug] Proxied response received with status 200: {"value":{"ELEMENT":":wdc:1457598532243"},"status":0,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/element 200 1251.147 ms - 104
> info: --> POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/element/%3Awdc%3A1457598532243/click {"id":":wdc:1457598532243"}
> info: [debug] Proxying command to localhost:8080
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/element/%3Awdc%3A1457598532243/click","method":"POST","json":{"id":":wdc:1457598532243"}}
> info: [debug] Proxied response received with status 200: {"value":"","status":0,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/element/%3Awdc%3A1457598532243/click 200 1598.258 ms - 74
> info: --> POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts {"type":"script","ms":20000}
> info: [debug] Proxying command to localhost:8080
> info: [debug] Making http request with opts: {"url":"http://localhost:8080/wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts","method":"POST","json":{"type":"script","ms":20000}}
> info: [debug] Proxied response received with status 200: {"status":0,"sessionId":"860b4876-c367-f05c-d73a-6e97d8c17b86"}
> info: <-- POST /wd/hub/session/860b4876-c367-f05c-d73a-6e97d8c17b86/timeouts 200 101.053 ms - 63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment