Last active
March 15, 2016 16:46
-
-
Save JaniJegoroff/42b2e1b6ea3e98ba455f to your computer and use it in GitHub Desktop.
set_network_mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d) | |
info: Appium REST http interface listener started on 0.0.0.0:4723 | |
info: Console LogLevel: debug | |
info: --> POST /wd/hub/session {"desiredCapabilities":{"newCommandTimeout":999999,"platformName":"Android","deviceName":"Nexus 7","app":"/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"}} | |
info: Client User-Agent string: appium/ruby_lib/8.0.2 | |
info: [debug] Using local app from desired caps: /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk | |
info: [debug] Creating new appium session d53a7403-bc78-4063-9deb-2b673e08b5af | |
info: Starting android appium | |
info: [debug] Getting Java version | |
info: Java version is: 1.8.0_45 | |
info: [debug] Checking whether adb is present | |
info: [debug] Using adb from /Users/janijegoroff/android-development/sdk/platform-tools/adb | |
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: /Users/janijegoroff/android-development/sdk/platform-tools/adb devices | |
info: [debug] 1 device(s) connected | |
info: Found device 04f25ed30b3584bc | |
info: [debug] Setting device id to 04f25ed30b3584bc | |
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5) | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc wait-for-device | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "echo 'ready'" | |
info: [debug] Starting logcat capture | |
info: [debug] Getting device API level | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "getprop ro.build.version.sdk" | |
info: [debug] Device is at API Level 23 | |
info: Device API level is: 23 | |
info: [debug] Extracting strings for language: default | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "getprop persist.sys.language" | |
info: [debug] Current device persist.sys.language: | |
info: [debug] java -jar "/Users/janijegoroff/projects/mobile-ios-app/mobile-common/bdd/node_modules/appium/node_modules/appium-adb/jars/appium_apk_tools.jar" "stringsFromApk" "/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk" "/tmp/io.appium.android.apis" | |
info: [debug] Reading strings from converted strings.json | |
info: [debug] Setting language to default | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc push "/tmp/io.appium.android.apis/strings.json" /data/local/tmp | |
info: [debug] Checking whether aapt is present | |
info: [debug] Using aapt from /Users/janijegoroff/android-development/sdk/build-tools/android-4.4W/aapt | |
info: [debug] Retrieving process from manifest. | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/build-tools/android-4.4W/aapt dump xmltree /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk AndroidManifest.xml | |
info: [debug] Set app process to: io.appium.android.apis | |
info: [debug] Not uninstalling app since server not started with --full-reset | |
info: [debug] Checking app cert for /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk. | |
info: [debug] executing cmd: java -jar /Users/janijegoroff/projects/mobile-ios-app/mobile-common/bdd/node_modules/appium/node_modules/appium-adb/jars/verify.jar /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk | |
info: [debug] App already signed. | |
info: [debug] Zip-aligning /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk | |
info: [debug] Checking whether zipalign is present | |
info: [debug] Using zipalign from /Users/janijegoroff/android-development/sdk/build-tools/android-4.4W/zipalign | |
info: [debug] Zip-aligning apk. | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/build-tools/android-4.4W/zipalign -f 4 /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk /var/folders/66/62hrz8650r72_srksbdfwpjm0000gn/T/116215-26751-5p06xe/appium.tmp | |
info: [debug] MD5 for app is 43e47d1be6a34c2ada8f5249f5eedd58 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "ls /data/local/tmp/43e47d1be6a34c2ada8f5249f5eedd58.apk" | |
info: [debug] Getting install status for io.appium.android.apis | |
info: [debug] Getting device API level | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "getprop ro.build.version.sdk" | |
info: [debug] Device is at API Level 23 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "pm list packages -3 io.appium.android.apis" | |
info: [debug] App is installed | |
info: App is already installed, resetting app | |
info: [debug] Running fast reset (stop and clear) | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "am force-stop io.appium.android.apis" | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "pm clear io.appium.android.apis" | |
info: [debug] Forwarding system:4724 to device:4724 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc forward tcp:4724 tcp:4724 | |
info: [debug] Pushing appium bootstrap to device... | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc push "/Users/janijegoroff/projects/mobile-ios-app/mobile-common/bdd/node_modules/appium/build/android_bootstrap/AppiumBootstrap.jar" /data/local/tmp/ | |
info: [debug] Pushing settings apk to device... | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc install "/Users/janijegoroff/projects/mobile-ios-app/mobile-common/bdd/node_modules/appium/build/settings_apk/settings_apk-debug.apk" | |
info: [debug] Pushing unlock helper app to device... | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc install "/Users/janijegoroff/projects/mobile-ios-app/mobile-common/bdd/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: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "ps 'uiautomator'" | |
info: [debug] No matching processes found | |
info: [debug] Running bootstrap | |
info: [debug] spawning: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg io.appium.android.apis -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] Waking up device if it's not alive | |
info: [debug] Pushing command to appium work queue: ["wake",{}] | |
info: [debug] [BOOTSTRAP] [debug] json loading complete. | |
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers. | |
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: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc 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: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "getprop ro.build.version.sdk" | |
info: [debug] Device is at API Level 23 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n io.appium.android.apis/.ApiDemos" | |
info: [debug] Waiting for pkg "io.appium.android.apis" and activity ".ApiDemos" to be focused | |
info: [debug] Getting focused package and activity | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "dumpsys window windows" | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "getprop ro.build.version.release" | |
info: [debug] Device is at release version 6.0.1 | |
info: [debug] Device launched! Ready for commands | |
info: [debug] Setting command timeout to 999999 secs | |
info: [debug] Appium session started with sessionId d53a7403-bc78-4063-9deb-2b673e08b5af | |
info: <-- POST /wd/hub/session 303 9670.928 ms - 74 | |
info: --> GET /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af {} | |
info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"newCommandTimeout":999999,"platformName":"Android","deviceName":"Nexus 7","app":"/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"},"newCommandTimeout":999999,"platformName":"Android","deviceName":"04f25ed30b3584bc","app":"/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"},"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: <-- GET /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af 200 7.156 ms - 752 {"status":0,"value":{"platform":"LINUX","browserName":"Android","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"newCommandTimeout":999999,"platformName":"Android","deviceName":"Nexus 7","app":"/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"},"newCommandTimeout":999999,"platformName":"Android","deviceName":"04f25ed30b3584bc","app":"/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk","appPackage":"io.appium.android.apis","appActivity":".ApiDemos"},"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: --> POST /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/timeouts/implicit_wait {"ms":0} | |
info: [debug] Set Android implicit wait to 0ms | |
info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: <-- POST /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/timeouts/implicit_wait 200 2.636 ms - 76 {"status":0,"value":null,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: --> GET /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/network_connection {} | |
info: Getting network connection | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings get global airplane_mode_on" | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings get global wifi_on" | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings get global mobile_data" | |
info: [debug] Responding to client with success: {"status":0,"value":6,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: <-- GET /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/network_connection 200 3181.942 ms - 73 {"status":0,"value":6,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: --> POST /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/network_connection {"type":1} | |
info: Setting network connection | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings put global airplane_mode_on 1" | |
info: [debug] Stopping logcat capture | |
info: [debug] Logcat terminated with code null, signal SIGTERM | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc kill-server | |
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5) | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc wait-for-device | |
info: [debug] UiAutomator exited | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "echo 'ready'" | |
info: [debug] Starting logcat capture | |
info: [debug] Forwarding system:4724 to device:4724 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc forward tcp:4724 tcp:4724 | |
info: Starting App | |
info: [debug] Attempting to kill all 'uiautomator' processes | |
info: [debug] Getting all processes with 'uiautomator' | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "ps 'uiautomator'" | |
info: [debug] No matching processes found | |
info: [debug] Running bootstrap | |
info: [debug] spawning: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg io.appium.android.apis -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] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}] | |
info: [debug] [BOOTSTRAP] [debug] json loading complete. | |
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers. | |
info: [debug] [BOOTSTRAP] [debug] Client connected | |
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] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true" | |
info: [debug] Stopping logcat capture | |
info: [debug] Logcat terminated with code null, signal SIGTERM | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc kill-server | |
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5) | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc wait-for-device | |
info: [debug] UiAutomator exited | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "echo 'ready'" | |
info: [debug] Starting logcat capture | |
info: [debug] Forwarding system:4724 to device:4724 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc forward tcp:4724 tcp:4724 | |
info: Starting App | |
info: [debug] Attempting to kill all 'uiautomator' processes | |
info: [debug] Getting all processes with 'uiautomator' | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "ps 'uiautomator'" | |
info: [debug] No matching processes found | |
info: [debug] Running bootstrap | |
info: [debug] spawning: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg io.appium.android.apis -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] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}] | |
info: [debug] [BOOTSTRAP] [debug] json loading complete. | |
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers. | |
info: [debug] [BOOTSTRAP] [debug] Client connected | |
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: Getting network connection | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings get global airplane_mode_on" | |
info: [debug] Responding to client with success: {"status":0,"value":1,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: <-- POST /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/network_connection 200 11575.999 ms - 73 {"status":0,"value":1,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: --> POST /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/network_connection {"type":6} | |
info: Setting network connection | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings put global airplane_mode_on 0" | |
info: [debug] Stopping logcat capture | |
info: [debug] Logcat terminated with code null, signal SIGTERM | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc kill-server | |
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5) | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc wait-for-device | |
info: [debug] UiAutomator exited | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "echo 'ready'" | |
info: [debug] Starting logcat capture | |
info: [debug] Forwarding system:4724 to device:4724 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc forward tcp:4724 tcp:4724 | |
info: Starting App | |
info: [debug] Attempting to kill all 'uiautomator' processes | |
info: [debug] Getting all processes with 'uiautomator' | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "ps 'uiautomator'" | |
info: [debug] No matching processes found | |
info: [debug] Running bootstrap | |
info: [debug] spawning: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg io.appium.android.apis -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] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}] | |
info: [debug] [BOOTSTRAP] [debug] json loading complete. | |
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers. | |
info: [debug] [BOOTSTRAP] [debug] Client connected | |
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] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false" | |
info: [debug] Stopping logcat capture | |
info: [debug] Logcat terminated with code null, signal SIGTERM | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc kill-server | |
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5) | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc wait-for-device | |
info: [debug] UiAutomator exited | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "echo 'ready'" | |
info: [debug] Starting logcat capture | |
info: [debug] Forwarding system:4724 to device:4724 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc forward tcp:4724 tcp:4724 | |
info: Starting App | |
info: [debug] Attempting to kill all 'uiautomator' processes | |
info: [debug] Getting all processes with 'uiautomator' | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "ps 'uiautomator'" | |
info: [debug] No matching processes found | |
info: [debug] Running bootstrap | |
info: [debug] spawning: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg io.appium.android.apis -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] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}] | |
info: [debug] [BOOTSTRAP] [debug] json loading complete. | |
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers. | |
info: [debug] [BOOTSTRAP] [debug] Client connected | |
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] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "am start -n io.appium.settings/.Settings -e wifi on -e data on" | |
info: [debug] Stopping logcat capture | |
info: [debug] Logcat terminated with code null, signal SIGTERM | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc kill-server | |
info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5) | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc wait-for-device | |
info: [debug] UiAutomator exited | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "echo 'ready'" | |
info: [debug] Starting logcat capture | |
info: [debug] Forwarding system:4724 to device:4724 | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc forward tcp:4724 tcp:4724 | |
info: Starting App | |
info: [debug] Attempting to kill all 'uiautomator' processes | |
info: [debug] Getting all processes with 'uiautomator' | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "ps 'uiautomator'" | |
info: [debug] No matching processes found | |
info: [debug] Running bootstrap | |
info: [debug] spawning: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg io.appium.android.apis -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] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}] | |
info: [debug] [BOOTSTRAP] [debug] json loading complete. | |
info: [debug] [BOOTSTRAP] [debug] Registered crash watchers. | |
info: [debug] [BOOTSTRAP] [debug] Client connected | |
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: Getting network connection | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings get global airplane_mode_on" | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings get global wifi_on" | |
info: [debug] executing cmd: /Users/janijegoroff/android-development/sdk/platform-tools/adb -s 04f25ed30b3584bc shell "settings get global mobile_data" | |
info: [debug] Responding to client with success: {"status":0,"value":6,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} | |
info: <-- POST /wd/hub/session/d53a7403-bc78-4063-9deb-2b673e08b5af/network_connection 200 19901.700 ms - 73 {"status":0,"value":6,"sessionId":"d53a7403-bc78-4063-9deb-2b673e08b5af"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Appium] Welcome to Appium v1.5.0 (REV 300441be033c7e47ae26de29137aa985ad7169d4) | |
[Appium] Appium REST http interface listener started on 0.0.0.0:4723 | |
[HTTP] --> POST /wd/hub/session | |
[MJSONWP] Calling AppiumDriver.createSession() with args: [{"newCommandTimeout":999999,"platformName":"Android","deviceName":"Nexus 7","app":"/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk","a... | |
[Appium] Creating new AndroidDriver session | |
[Appium] Capabilities: | |
[Appium] newCommandTimeout: 999999 | |
[Appium] platformName: 'Android' | |
[Appium] deviceName: 'Nexus 7' | |
[Appium] app: '/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk' | |
[Appium] appPackage: 'io.appium.android.apis' | |
[Appium] appActivity: '.ApiDemos' | |
[BaseDriver] Session created with session id: 0d4d7900-d04b-405e-a353-133757ab5a5a | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_45 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/janijegoroff/android-development/sdk/platform-tools/adb | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Using device: 04f25ed30b3584bc | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/janijegoroff/android-development/sdk/platform-tools/adb | |
[debug] [ADB] Setting device id to 04f25ed30b3584bc | |
[BaseDriver] Using local app '/Users/janijegoroff/projects/ruby_lib/android_tests/api.apk' | |
[debug] [AndroidDriver] Checking whether app is actually present | |
[AndroidDriver] Starting Android session | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/bin/settings_apk-debug.apk"] | |
[debug] [AndroidDriver] Pushing unlock helper app to device... | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","install","/usr/local/lib/node_modules/appium/node_modules/appium-unlock/bin/unlock_apk-debug.apk"] | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Uninstalling io.appium.android.apis | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","am","force-stop","io.appium.android.apis"] | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","uninstall","io.appium.android.apis"] | |
[ADB] App was uninstalled | |
[AndroidDriver] Remote apk path is /data/local/tmp/43e47d1be6a34c2ada8f5249f5eedd58.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","ls","/data/local/tmp/43e47d1be6a34c2ada8f5249f5eedd58.apk"] | |
[debug] [AndroidDriver] Checking if app is installed | |
[debug] [ADB] Getting install status for io.appium.android.apis | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","pm","list","packages","-3","io.appium.android.apis"] | |
[debug] [ADB] App is not installed | |
[AndroidDriver] Apk is not yet installed | |
[AndroidDriver] installing apk from remote | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","mkdir","-p","/data/local/tmp"] | |
[AndroidDriver] Clearing out any existing remote apks with the same hash | |
[debug] [AndroidDriver] Removing any old apks | |
[debug] [AndroidDriver] Except ["43e47d1be6a34c2ada8f5249f5eedd58"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","ls","/data/local/tmp/*.apk"] | |
[debug] [ADB] Uninstalling io.appium.android.apis | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","am","force-stop","io.appium.android.apis"] | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","uninstall","io.appium.android.apis"] | |
[ADB] App was not uninstalled, maybe it wasn't on device? | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","pm","install","-r","/data/local/tmp/43e47d1be6a34c2ada8f5249f5eedd58.apk"] | |
[debug] [AndroidDriver] Extracting strings from apk /Users/janijegoroff/projects/ruby_lib/android_tests/api.apk null /var/folders/66/62hrz8650r72_srksbdfwpjm0000gn/T/io.appium.android.apis | |
[debug] [ADB] Extracting strings for language: default | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","getprop","persist.sys.language"] | |
[debug] [ADB] Current device property 'persist.sys.language': | |
[debug] [ADB] No strings.xml for language '', getting default strings.xml | |
[debug] [ADB] Reading strings from converted strings.json | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","push","/var/folders/66/62hrz8650r72_srksbdfwpjm0000gn/T/io.appium.android.apis/strings.json","/data/local/tmp"] | |
[debug] [AndroidBootstrap] Watching for bootstrap disconnect | |
[debug] [ADB] Forwarding system: 4724 to device: 4724 | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","forward","tcp:4724","tcp:4724"] | |
[debug] [UiAutomator] Starting UiAutomator | |
[debug] [UiAutomator] Moving to state 'starting' | |
[debug] [UiAutomator] Parsing uiautomator jar | |
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"] | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","ps","uiautomator"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Starting UIAutomator | |
[debug] [ADB] Creating ADB subprocess with args: -P, 5037, -s, 04f25ed30b3584bc, shell, uiautomator, runtest, AppiumBootstrap.jar, -c, io.appium.android.bootstrap.Bootstrap, -e, pkg, io.appium.android.apis, -e, disableAndroidWatchers, false, -e, acceptSslCerts, false | |
[debug] [UiAutomator] Moving to state 'online' | |
[AndroidBootstrap] Android bootstrap socket is now connected | |
[debug] [ADB] Getting connected devices... | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. | |
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [ADB] Device API level: 23 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","am","start","-n","io.appium.android.apis/.ApiDemos","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[Appium] New AndroidDriver session created successfully, session 0d4d7900-d04b-405e-a353-133757ab5a5a added to master session list | |
[MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":tr... | |
[HTTP] <-- POST /wd/hub/session 200 18680 ms - 728 | |
[HTTP] --> POST /wd/hub/session/0d4d7900-d04b-405e-a353-133757ab5a5a/timeouts/implicit_wait | |
[MJSONWP] Calling AppiumDriver.implicitWait() with args: [0,"0d4d7900-d04b-405e-a353-133757ab5a5a"] | |
[debug] [BaseDriver] Set implicit wait to 0ms | |
[MJSONWP] Responding to client with driver.implicitWait() result: null | |
[HTTP] <-- POST /wd/hub/session/0d4d7900-d04b-405e-a353-133757ab5a5a/timeouts/implicit_wait 200 4 ms - 76 | |
[HTTP] --> GET /wd/hub/session/0d4d7900-d04b-405e-a353-133757ab5a5a/network_connection | |
[MJSONWP] Calling AppiumDriver.getNetworkConnection() with args: ["0d4d7900-d04b-405e-a353-133757ab5a5a"] | |
[AndroidDriver] Getting network connection | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","settings","get","global","airplane_mode_on"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","settings","get","global","wifi_on"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running /Users/janijegoroff/android-development/sdk/platform-tools/adb with args: ["-P",5037,"-s","04f25ed30b3584bc","shell","settings","get","global","mobile_data"] | |
[MJSONWP] Responding to client with driver.getNetworkConnection() result: 6 | |
[HTTP] <-- GET /wd/hub/session/0d4d7900-d04b-405e-a353-133757ab5a5a/network_connection 200 3526 ms - 73 | |
[HTTP] --> POST /wd/hub/session/0d4d7900-d04b-405e-a353-133757ab5a5a/network_connection | |
[debug] [MJSONWP] Bad parameters: BadParametersError: Parameters were incorrect. We wanted {"unwrap":"parameters","required":["type"]} and you sent [] | |
[HTTP] <-- POST /wd/hub/session/0d4d7900-d04b-405e-a353-133757ab5a5a/network_connection 400 4 ms - 96 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment