Skip to content

Instantly share code, notes, and snippets.

@aaltat
Created November 8, 2017 14:19
Show Gist options
  • Save aaltat/1a825d83aa3343607c53bef56621a182 to your computer and use it in GitHub Desktop.
Save aaltat/1a825d83aa3343607c53bef56621a182 to your computer and use it in GitHub Desktop.
Appium UIAutomator2 unlockType
2017-11-08 16:02:36:034 - info: [Appium] Welcome to Appium v1.7.1
2017-11-08 16:02:36:038 - info: [Appium] Non-default server args:
2017-11-08 16:02:36:039 - info: [Appium] address: 127.0.0.1
2017-11-08 16:02:36:041 - info: [Appium] sessionOverride: true
2017-11-08 16:02:36:043 - info: [Appium] log: appium.log
2017-11-08 16:02:36:044 - info: [Appium] logTimestamp: true
2017-11-08 16:02:36:045 - info: [Appium] localTimezone: true
2017-11-08 16:02:36:047 - info: [Appium] logNoColors: true
2017-11-08 16:02:36:048 - info: [Appium] suppressKillServer: true
2017-11-08 16:02:36:050 - info: [Appium] defaultCapabilities: {
2017-11-08 16:02:36:051 - info: [Appium] newCommandTimeout: 300
2017-11-08 16:02:36:052 - info: [Appium] noReset: true
2017-11-08 16:02:36:054 - info: [Appium] fullReset: false
2017-11-08 16:02:36:055 - info: [Appium] udid: 52005226ec445479
2017-11-08 16:02:36:056 - info: [Appium] automationName: uiautomator2
2017-11-08 16:02:36:058 - info: [Appium] session_override: true
2017-11-08 16:02:36:059 - info: [Appium] systemPort: 8200
2017-11-08 16:02:36:061 - info: [Appium] }
2017-11-08 16:02:36:063 - info: [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:
2017-11-08 16:02:36:067 - info: [Appium] newCommandTimeout: 300
2017-11-08 16:02:36:067 - info: [Appium] noReset: true
2017-11-08 16:02:36:069 - info: [Appium] fullReset: false
2017-11-08 16:02:36:071 - info: [Appium] udid: '52005226ec445479'
2017-11-08 16:02:36:072 - info: [Appium] automationName: 'uiautomator2'
2017-11-08 16:02:36:074 - info: [Appium] session_override: true
2017-11-08 16:02:36:075 - info: [Appium] systemPort: 8200
2017-11-08 16:02:36:143 - info: [Appium] Appium REST http interface listener started on 127.0.0.1:4723
2017-11-08 16:02:58:933 - info: [HTTP] --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{"platformName":"android"},"firstMatch":[{}]},"desiredCapabilities":{"deviceName":"Samsung_J5","unlockKey":"1236","unlockType":"pattern","platformVersion":"7.0.0","appPackage":"com.android.settings","platformName":"android","appActivity":".Settings"}}
2017-11-08 16:02:58:937 - info: [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"deviceName":"Samsung_J5","unlockKey":"1236","unlockType":"pattern","platformVersion":"7.0.0","appPackage":"com.android.settings","platformName":"android","appActivity":".Settings"},null,{"alwaysMatch":{"platformName":"android"},"firstMatch":[{}]}]
2017-11-08 16:02:58:940 - info: [debug] [BaseDriver] Event 'newSessionRequested' logged at 1510149778939 (16:02:58 GMT+0200 (FLE Standard Time))
2017-11-08 16:02:58:944 - info: [Appium] Creating new AndroidUiautomator2Driver (v0.6.5) session
2017-11-08 16:02:58:945 - info: [Appium] Capabilities:
2017-11-08 16:02:58:947 - info: [Appium] deviceName: 'Samsung_J5'
2017-11-08 16:02:58:948 - info: [Appium] unlockKey: '1236'
2017-11-08 16:02:58:950 - info: [Appium] unlockType: 'pattern'
2017-11-08 16:02:58:951 - info: [Appium] platformVersion: '7.0.0'
2017-11-08 16:02:58:953 - info: [Appium] appPackage: 'com.android.settings'
2017-11-08 16:02:58:954 - info: [Appium] platformName: 'android'
2017-11-08 16:02:58:956 - info: [Appium] appActivity: '.Settings'
2017-11-08 16:02:58:957 - info: [Appium] newCommandTimeout: 300
2017-11-08 16:02:58:959 - info: [Appium] noReset: true
2017-11-08 16:02:58:960 - info: [Appium] fullReset: false
2017-11-08 16:02:58:962 - info: [Appium] udid: '52005226ec445479'
2017-11-08 16:02:58:963 - info: [Appium] automationName: 'uiautomator2'
2017-11-08 16:02:58:965 - info: [Appium] session_override: true
2017-11-08 16:02:58:966 - info: [Appium] systemPort: 8200
2017-11-08 16:02:58:990 - warn: [BaseDriver] The following capabilities were provided, but are not recognized by appium: unlockKey, unlockType, session_override, systemPort.
2017-11-08 16:02:58:995 - info: [BaseDriver] Session created with session id: 7ab27675-5ef0-44a4-9856-d4fe725266f1
2017-11-08 16:02:58:998 - info: [debug] [AndroidDriver] Getting Java version
2017-11-08 16:02:59:116 - info: [AndroidDriver] Java version is: 1.8.0_144
2017-11-08 16:02:59:120 - info: [ADB] Checking whether adb is present
2017-11-08 16:02:59:126 - info: [ADB] Using adb.exe from C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe
2017-11-08 16:02:59:128 - info: [AndroidDriver] Retrieving device list
2017-11-08 16:02:59:130 - info: [debug] [ADB] Trying to find a connected android device
2017-11-08 16:02:59:132 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:02:59:185 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:02:59:187 - info: [AndroidDriver] Using device: 52005226ec445479
2017-11-08 16:02:59:189 - info: [ADB] Checking whether adb is present
2017-11-08 16:02:59:195 - info: [ADB] Using adb.exe from C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe
2017-11-08 16:02:59:197 - info: [debug] [ADB] Setting device id to 52005226ec445479
2017-11-08 16:02:59:201 - warn: [AndroidDriver] No app sent in, not parsing package/activity
2017-11-08 16:02:59:204 - info: [ADB] Getting device platform version
2017-11-08 16:02:59:206 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:02:59:253 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:02:59:259 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","getprop","ro.build.version.release"]
2017-11-08 16:02:59:437 - info: [debug] [ADB] Current device property 'ro.build.version.release': 7.0
2017-11-08 16:02:59:443 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:02:59:495 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:02:59:497 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","wm","size"]
2017-11-08 16:03:00:683 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:00:735 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:00:736 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","getprop","ro.product.model"]
2017-11-08 16:03:00:901 - info: [debug] [ADB] Current device property 'ro.product.model': SM-J530F
2017-11-08 16:03:00:904 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:00:967 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:00:968 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","getprop","ro.product.manufacturer"]
2017-11-08 16:03:01:158 - info: [debug] [ADB] Current device property 'ro.product.manufacturer': samsung
2017-11-08 16:03:01:170 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:01:230 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:01:232 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","am","force-stop","io.appium.uiautomator2.server"]
2017-11-08 16:03:02:423 - info: [ADB] Checking whether aapt is present
2017-11-08 16:03:02:433 - info: [ADB] Using aapt.exe from C:\Aps\Android-SDK\ADB-1.0.39\build-tools\22.0.1\aapt.exe
2017-11-08 16:03:02:479 - info: [debug] [ADB] Getting install status for io.appium.uiautomator2.server
2017-11-08 16:03:02:480 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:02:524 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:02:525 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","pm","list","packages","io.appium.uiautomator2.server"]
2017-11-08 16:03:03:749 - info: [debug] [ADB] App is installed
2017-11-08 16:03:03:752 - info: [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
2017-11-08 16:03:03:755 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:03:798 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:03:800 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
2017-11-08 16:03:05:023 - info: [debug] [ADB] App is installed
2017-11-08 16:03:05:027 - info: [debug] [ADB] Getting package info for io.appium.uiautomator2.server
2017-11-08 16:03:05:028 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:05:074 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:05:076 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","dumpsys","package","io.appium.uiautomator2.server"]
2017-11-08 16:03:05:232 - info: [debug] [UiAutomator2] Waiting up to 20000ms for instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' to be available
2017-11-08 16:03:05:236 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:05:292 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:05:293 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","pm","list","instrumentation"]
2017-11-08 16:03:06:457 - info: [debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunner' available
2017-11-08 16:03:06:459 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","wait-for-device"]
2017-11-08 16:03:06:498 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:06:537 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:06:538 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","echo","ping"]
2017-11-08 16:03:06:629 - info: [debug] [Logcat] Starting logcat capture
2017-11-08 16:03:06:746 - info: [debug] [AndroidDriver] Pushing settings apk to device...
2017-11-08 16:03:06:750 - info: [debug] [ADB] Uninstalling and re-installing 'io.appium.settings'
2017-11-08 16:03:06:753 - info: [debug] [ADB] Uninstalling io.appium.settings
2017-11-08 16:03:06:755 - info: [debug] [ADB] Getting install status for io.appium.settings
2017-11-08 16:03:06:757 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:06:804 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:06:807 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","pm","list","packages","io.appium.settings"]
2017-11-08 16:03:08:081 - info: [debug] [ADB] App is installed
2017-11-08 16:03:08:084 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:08:130 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:08:131 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","am","force-stop","io.appium.settings"]
2017-11-08 16:03:09:310 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","uninstall","io.appium.settings"]
2017-11-08 16:03:09:743 - info: [debug] [ADB] ADB command output: Success
2017-11-08 16:03:09:745 - info: [ADB] io.appium.settings was successfully uninstalled
2017-11-08 16:03:09:747 - info: [debug] [ADB] Getting install status for io.appium.settings
2017-11-08 16:03:09:753 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:09:808 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:09:811 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","pm","list","packages","io.appium.settings"]
2017-11-08 16:03:11:140 - info: [debug] [ADB] App is not installed
2017-11-08 16:03:11:142 - info: [debug] [ADB] App 'C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\app\build\outputs\apk\settings_apk-debug.apk' not installed. Installing
2017-11-08 16:03:11:144 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","install","C:\\Users\\taalto.CRFHEALTH\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\io.appium.settings\\app\\build\\outputs\\apk\\settings_apk-debug.apk"]
2017-11-08 16:03:17:119 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:17:177 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:17:178 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","getprop","ro.build.version.sdk"]
2017-11-08 16:03:17:300 - info: [debug] [ADB] Current device property 'ro.build.version.sdk': 24
2017-11-08 16:03:17:305 - info: [debug] [ADB] Device API level: 24
2017-11-08 16:03:17:309 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:17:355 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:17:356 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","dumpsys","package","io.appium.settings"]
2017-11-08 16:03:17:459 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:17:506 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:17:507 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","pm","dump","io.appium.settings"]
2017-11-08 16:03:19:275 - info: [debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;,pm,grant,io.appium.settings,android.permission.SET_ANIMATION_SCALE,;
2017-11-08 16:03:19:277 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:19:329 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:19:331 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";","pm","grant","io.appium.settings","android.permission.SET_ANIMATION_SCALE",";"]
2017-11-08 16:03:25:917 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:26:022 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:26:023 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","ps"]
2017-11-08 16:03:26:303 - info: [debug] [ADB] Device API level: 24
2017-11-08 16:03:26:304 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:26:369 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:26:374 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"]
2017-11-08 16:03:28:040 - info: [debug] [ADB] Device API level: 24
2017-11-08 16:03:28:042 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:28:190 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:28:192 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","appops","set","io.appium.settings","android:mock_location","allow"]
2017-11-08 16:03:28:362 - info: [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
2017-11-08 16:03:28:364 - info: [debug] [ADB] Forwarding system: 8200 to device: 6790
2017-11-08 16:03:28:365 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","forward","tcp:8200","tcp:6790"]
2017-11-08 16:03:28:412 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:28:452 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:28:454 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","dumpsys","window"]
2017-11-08 16:03:28:605 - info: [AndroidDriver] Trying to unlock device using pattern 1236
2017-11-08 16:03:28:607 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:28:653 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:28:654 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","dumpsys","input_method"]
2017-11-08 16:03:28:797 - info: [AndroidDriver] Dismiss notifications from unlock view
2017-11-08 16:03:28:797 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:28:845 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:28:846 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","service","call","notification","1"]
2017-11-08 16:03:28:953 - info: [debug] [ADB] Pressing the BACK button
2017-11-08 16:03:28:954 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:28:993 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:28:994 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","input","keyevent",4]
2017-11-08 16:03:30:159 - info: [debug] [ADB] Device API level: 24
2017-11-08 16:03:30:160 - info: [AndroidDriver] Trying to dismiss keyguard
2017-11-08 16:03:30:162 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:30:226 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:30:228 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","wm","dismiss-keyguard"]
2017-11-08 16:03:31:416 - info: [debug] [ADB] Device API level: 24
2017-11-08 16:03:31:420 - info: [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
2017-11-08 16:03:31:423 - info: [debug] [BaseDriver] Waiting up to 0 ms for condition
2017-11-08 16:03:31:430 - info: [debug] [UiAutomator2] Deleting UiAutomator2 session
2017-11-08 16:03:31:433 - info: [debug] [UiAutomator2] Deleting UiAutomator2 server session
2017-11-08 16:03:31:435 - warn: [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Error: Trying to proxy a session command without session id
2017-11-08 16:03:31:436 - info: [debug] [ADB] Getting connected devices...
2017-11-08 16:03:31:491 - info: [debug] [ADB] 1 device(s) connected
2017-11-08 16:03:31:493 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","shell","am","force-stop","com.android.settings"]
2017-11-08 16:03:32:700 - info: [debug] [Logcat] Stopping logcat capture
2017-11-08 16:03:32:712 - info: [debug] [ADB] Removing forwarded port socket connection: 8200
2017-11-08 16:03:32:714 - info: [debug] [ADB] Running 'C:\Aps\Android-SDK\ADB-1.0.39\platform-tools\adb.exe' with args: ["-P",5037,"-s","52005226ec445479","forward","--remove","tcp:8200"]
2017-11-08 16:03:32:812 - error: [MJSONWP] Encountered internal error running command: Error: Trying to proxy a session command without session id
at JWProxy.getUrlForProxy (../../../lib/jsonwp-proxy/proxy.js:84:13)
at JWProxy.proxy$ (../../../lib/jsonwp-proxy/proxy.js:102:25)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at JWProxy.proxy (../../../lib/jsonwp-proxy/proxy.js:143:24)
at JWProxy.command$ (../../../lib/jsonwp-proxy/proxy.js:159:42)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at JWProxy.command (../../../lib/jsonwp-proxy/proxy.js:176:12)
at AndroidUiautomator2Driver.callee$0$0$ (../../../lib/commands/find.js:12:44)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at AndroidUiautomator2Driver.callee$0$0 [as doFindElementOrEls] (../../../lib/commands/find.js:8:52)
at AndroidUiautomator2Driver.doFind$ (../../../lib/commands/find.js:39:28)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at doFind (../../../lib/commands/find.js:37:13)
at AndroidUiautomator2Driver.wrappedCondFn$ (../../../../lib/basedriver/commands/timeout.js:93:24)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at wrappedCondFn (../../../../lib/basedriver/commands/timeout.js:89:20)
at spin$ (lib/asyncbox.js:108:15)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:294:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:167:17)
at Promise.exp (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\core-js\library\modules\$.def.js:38:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:166:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:192:12)
at spin (lib/asyncbox.js:112:15)
at waitForCondition$ (lib/asyncbox.js:121:9)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:294:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:167:17)
at Promise.exp (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\core-js\library\modules\$.def.js:38:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:166:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\asyncbox\node_modules\babel-runtime\regenerator\runtime.js:192:12)
at waitForCondition (lib/asyncbox.js:107:11)
at AndroidUiautomator2Driver.callee$0$0$ (../../../../lib/basedriver/commands/timeout.js:95:16)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at AndroidUiautomator2Driver.callee$0$0 [as implicitWaitForCondition] (../../../../lib/basedriver/commands/timeout.js:89:20)
at AndroidUiautomator2Driver.callee$0$0$ (../../../lib/commands/find.js:57:16)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at enqueueResult (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:185:17)
at Promise.F (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\core-js\library\modules\$.export.js:30:36)
at AsyncIterator.enqueue (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at Object.runtime.async (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:209:12)
at AndroidUiautomator2Driver.callee$0$0 [as findElOrEls] (../../../lib/commands/find.js:37:13)
at callee$0$0$ (../../lib/unlock-helpers.js:214:25)
at tryCatch (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (C:\Users\taalto.CRFHEALTH\AppData\Roaming\npm\node_modules\appium\node_modules\babel-runtime\regenerator\runtime.js:136:37)
at process._tickCallback (internal/process/next_tick.js:103:7)
2017-11-08 16:03:32:826 - info: [HTTP] <-- POST /wd/hub/session 500 33884 ms - 189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment