Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save arpitkup/5e2a68461ae11ecd3b22082c87dc2bbd to your computer and use it in GitHub Desktop.
Save arpitkup/5e2a68461ae11ecd3b22082c87dc2bbd to your computer and use it in GitHub Desktop.
Updated Appium logs
[info] [Appium] Welcome to Appium v1.17.0
[info] [Appium] Non-default server args:
[info] [Appium] allowInsecure: {
[info] [Appium] }
[info] [Appium] denyInsecure: {
[info] [Appium] }
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[warn] [BaseDriver] Shutting down because we waited 60 seconds for a command
[warn] [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[info] [Appium] Removing session '6df52ead-29a6-4972-9a78-87cf99421d3b' from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[debug] [WD Proxy] Matched '/' to command name 'deleteSession'
[debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/e92d6ee4-788e-4104-99f9-eb59199e71b7] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"e92d6ee4-788e-4104-99f9-eb59199e71b7","value":null}
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell am force-stop com.rwwa.android.tabtouch.qual'
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8200
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece forward --remove tcp\:8200'
[info] [UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings delete global hidden_api_policy_pre_p_apps'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings delete global hidden_api_policy_p_apps'[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings delete global hidden_api_policy'
[debug] [Instrumentation] .
[info] [HTTP] --> POST /wd/hub/session
[info] [HTTP] {"desiredCapabilities":{"platformName":"Android","platformVersion":"9.0","deviceName":"Galaxy S9","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2"},"capabilities":{"firstMatch":[{"platformName":"Android"}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"Android","platformVersion":"9.0","deviceName":"Galaxy S9","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2"},null,{"firstMatch":[{"platformName":"Android"}]}]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1588595738728 (20:35:38 GMT+0800 (Australian Western Standard Time))
[info] [Appium] The following capabilities were provided in the JSONWP desired capabilities that are missing in W3C capabilities: ["platformVersion","deviceName","app","automationName"]
[info] [Appium] Trying to fix W3C capabilities by merging them with JSONWP caps
[warn] [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix:
[warn] [BaseDriver] platformVersion
[warn] [BaseDriver] deviceName
[warn] [BaseDriver] app
[warn] [BaseDriver] automationName
[info] [Appium] Appium v1.17.0 creating new AndroidUiautomator2Driver (v1.44.2) session
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] "alwaysMatch": {
[debug] [BaseDriver] "appium:platformVersion": "9.0",
[debug] [BaseDriver] "appium:deviceName": "Galaxy S9",
[debug] [BaseDriver] "appium:app": "/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk",
[debug] [BaseDriver] "appium:automationName": "UiAutomator2",
[debug] [BaseDriver] "platformName": "Android"
[debug] [BaseDriver] },
[debug] [BaseDriver] "firstMatch": [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[info] [BaseDriver] Session created with session id: 3e2cf7ee-0024-45b8-b8a2-5d4921b1c563[debug] [ADB] Connected devices: [{"udid":"27e3c4b81f1c7ece","state":"device"}]
[info] [AndroidDriver] Looking for a device with Android '9.0.0'
[debug] [ADB] Setting device id to 27e3c4b81f1c7ece
[info] [ADB] Getting device platform version
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 9
[info] [AndroidDriver] Using device: 27e3c4b81f1c7ece
[info] [ADB] Using 'adb' from '/Users/arpit/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Setting device id to 27e3c4b81f1c7ece
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell getprop ro.build.version.sdk'
[debug] [ADB] Current device property 'ro.build.version.sdk': 28
[info] [ADB] Getting device platform version
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell getprop ro.build.version.release'
[debug] [ADB] Current device property 'ro.build.version.release': 9
[debug] [ADB] Device API level: 28
[warn] [UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings put global hidden_api_policy_pre_p_apps 1'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings put global hidden_api_policy_p_apps 1'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings put global hidden_api_policy 1'[debug] [AndroidDriver] Parsing package and activity from app manifest
[info] [ADB] Package name: 'com.rwwa.android.tabtouch.qual'
[info] [ADB] Main activity name: 'com.rwwa.android.tabtouch.SplashScreenActivity'
[debug] [AndroidDriver] Parsed package and activity are: com.rwwa.android.tabtouch.qual/com.rwwa.android.tabtouch.SplashScreenActivity
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece wait-for-device'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell echo ping'
[debug] [AndroidDriver] Pushing settings apk to device...
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package io.appium.settings'
[debug] [Instrumentation] Time: 94.062
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [ADB] 'io.appium.settings' is installed
[debug] [ADB] Getting package info for 'io.appium.settings'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package io.appium.settings'
[debug] [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.1.0' >= '3.1.0')
[debug] [ADB] There is no need to install/upgrade '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell 'pgrep --help; echo $?''
[debug] [Instrumentation] The process has exited with code 0
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell pgrep -f io\\.appium\\.settings'[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell pgrep -f io\\.appium\\.settings'
[debug] [ADB] Starting Appium Settings app
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell am start -n io.appium.settings/.Settings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER'
[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell pgrep -f io\\.appium\\.settings'[debug] [ADB] Getting IDs of all 'io.appium.settings' processes
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell pgrep -f io\\.appium\\.settings'[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell appops set io.appium.settings android\:mock_location allow'
[debug] [Logcat] Starting logcat capture
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[debug] [ADB] Forwarding system: 8200 to device: 6790
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece forward tcp\:8200 tcp\:6790'
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package io.appium.uiautomator2.server'
[debug] [ADB] 'io.appium.uiautomator2.server' is installed
[debug] [ADB] Getting package info for 'io.appium.uiautomator2.server'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package io.appium.uiautomator2.server'[debug] [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5')
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk
[info] [ADB] Using 'apksigner.jar' from '/Users/arpit/Library/Android/sdk/build-tools/29.0.3/lib/apksigner.jar'
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/arpit/Library/Android/sdk/build-tools/29.0.3/lib/apksigner.jar verify --print-certs /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [ADB] 'io.appium.uiautomator2.server.test' is installed
[debug] [ADB] Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/arpit/Library/Android/sdk/build-tools/29.0.3/lib/apksigner.jar verify --print-certs /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[info] [UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell pm list instrumentation'[debug] [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [ADB] Checking app cert for /Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk
[debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/arpit/Library/Android/sdk/build-tools/29.0.3/lib/apksigner.jar verify --print-certs /Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk[debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] [ADB]
[debug] [ADB] '/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk' is signed with the default certificate
[debug] [ADB] Getting install status for com.rwwa.android.tabtouch.qual
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package com.rwwa.android.tabtouch.qual'
[debug] [ADB] 'com.rwwa.android.tabtouch.qual' is installed
[debug] [ADB] Getting package info for 'com.rwwa.android.tabtouch.qual'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package com.rwwa.android.tabtouch.qual'
[debug] [ADB] The version name of the installed 'com.rwwa.android.tabtouch.qual' is greater or equal to the application version name ('1.11.0' >= '1.11.0')
[debug] [ADB] There is no need to install/upgrade '/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk'
[info] [AndroidDriver] Performing fast reset on 'com.rwwa.android.tabtouch.qual'
[debug] [ADB] Getting install status for com.rwwa.android.tabtouch.qual
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys package com.rwwa.android.tabtouch.qual'
[debug] [ADB] 'com.rwwa.android.tabtouch.qual' is installed
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell am force-stop com.rwwa.android.tabtouch.qual'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell pm clear com.rwwa.android.tabtouch.qual'[debug] [AndroidDriver] Performed fast reset on the installed 'com.rwwa.android.tabtouch.qual' application (stop and clear)
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] No obsolete sessions have been detected (Error: socket hang up)
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell am force-stop io.appium.uiautomator2.server.test'
[info] [UiAutomator2] Starting UIAutomator2 server 4.5.5
[info] [UiAutomator2] Using UIAutomator2 server from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.5.5.apk' and test from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[info] [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","27e3c4b81f1c7ece","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
[info] [WD Proxy] Got response with unknown status: {"code":"ECONNRESET"}[debug] [WD Proxy] Matched '/status' to command name 'getStatus'
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body[debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"ready":true,"message":"UiAutomator2 Server is ready to accept commands"}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 3082ms
[debug] [WD Proxy] Matched '/session' to command name 'createSession'
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"9.0","deviceName":"Galaxy S9","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2"},"platformName":"Android","platformVersion":"9.0","deviceName":"27e3c4b81f1c7ece","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2","deviceUDID":"27e3c4b81f1c7ece","appPackage":"com.rwwa.android.tabtouch.qual"}],"alwaysMatch":{}}}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":{"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"9.0","deviceName":"Galaxy S9","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2"},"platformName":"Android","platformVersion":"9.0","deviceName":"27e3c4b81f1c7ece","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2","deviceUDID":"27e3c4b81f1c7ece","appPackage":"com.rwwa.android.tabtouch.qual"}],"alwaysMatch":{}}}}
[info] [WD Proxy] Determined the downstream protocol as 'W3C'
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/d742a029-62e6-470f-ab0b-f39395e2bdbe/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":{"androidId":"1d8cb4830021d4f6","manufacturer":"samsung","model":"SM-G960F","brand":"samsung","apiVersion":"28","platformVersion":"9","carrierName":"BOOST","realDisplaySize":"1080x2220","displayDensity":480,"networks":[{"type":0,"typeName":"MOBILE","subtype":13,"subtypeName":"LTE","isConnected":true,"detailedState":"CONNECTED","state":"CONNECTED","extraInfo":"ims","isAvailable":true,"isFailover":false,"isRoaming":false,"capabilities":{"transportTypes":"TRANSPORT_CELLULAR","networkCapabilities":"NET_CAPABILITY_IMS,NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","linkUpstreamBandwidthKbps":51200,"linkDownBandwidthKbps":102400,"signalStrength":-2147483648,"networkSpecifier":"2","SSID":null}},{"type":13,"typeName":"WIFI_P2P","subtype":0,"subtypeName":"","isConnected":false,"detailedState":"DI...
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys window'
[info] [AndroidDriver] Screen already unlocked, doing nothing
[info] [UiAutomator2] Starting 'com.rwwa.android.tabtouch.qual/com.rwwa.android.tabtouch.SplashScreenActivity and waiting for 'com.rwwa.android.tabtouch.qual/com.rwwa.android.tabtouch.SplashScreenActivity'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell am start -W -n com.rwwa.android.tabtouch.qual/com.rwwa.android.tabtouch.SplashScreenActivity -S'[debug] [ADB] Waiting up to 20000ms for activity matching pkg: 'com.rwwa.android.tabtouch.qual' and activity: 'com.rwwa.android.tabtouch.SplashScreenActivity' to be focused
[debug] [ADB] Possible activities, to be checked: 'com.rwwa.android.tabtouch.SplashScreenActivity', 'com.rwwa.android.tabtouch.qual.com.rwwa.android.tabtouch.SplashScreenActivity'
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys window windows'[debug] [ADB] Found package: 'com.rwwa.android.tabtouch.qual' and fully qualified activity name : 'com.rwwa.android.tabtouch.SplashScreenActivity'
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8200/wd/hub/session/d742a029-62e6-470f-ab0b-f39395e2bdbe/appium/device/pixel_ratio] with body: {}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":3}
[debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8200/wd/hub/session/d742a029-62e6-470f-ab0b-f39395e2bdbe/appium/device/system_bars] with body: {}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":{"statusBar":72}}
[debug] [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize'
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8200/wd/hub/session/d742a029-62e6-470f-ab0b-f39395e2bdbe/window/current/size] with body: {}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":{"height":2076,"width":1080}}
[info] [Appium] New AndroidUiautomator2Driver session created successfully, session 3e2cf7ee-0024-45b8-b8a2-5d4921b1c563 added to master session list
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1588595746599 (20:35:46 GMT+0800 (Australian Western Standard Time))
[debug] [W3C (3e2cf7ee)] Cached the protocol value 'W3C' for the new session 3e2cf7ee-0024-45b8-b8a2-5d4921b1c563
[debug] [W3C (3e2cf7ee)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"9.0","deviceName":"Galaxy S9","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2"},"platformName":"Android","platformVersion":"9","deviceName":"27e3c4b81f1c7ece","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2","deviceUDID":"27e3c4b81f1c7ece","appPackage":"com.rwwa.android.tabtouch.qual","deviceApiLevel":28,"deviceScreenSize":"1080x2220","deviceScreenDensity":480,"deviceModel":"SM-G960F","deviceManufacturer":"samsung","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":2004}}}
[info] [HTTP] <-- POST /wd/hub/session 200 7873 ms - 933
[info] [HTTP] 
[info] [HTTP] --> POST /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/timeouts
[info] [HTTP] {"implicit":10000}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,10000,"3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [BaseDriver] W3C timeout argument: {"implicit":10000}}
[debug] [BaseDriver] Set implicit wait to 10000ms
[debug] [W3C (3e2cf7ee)] Responding to client with driver.timeouts() result: null
[info] [HTTP] <-- POST /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/timeouts 200 2 ms - 14
[info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/contexts
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getContexts() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell cat /proc/net/unix'[info] [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[debug] [AndroidDriver] Found webviews: []
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP"]
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getContexts() result: ["NATIVE_APP"]
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/contexts 200 69 ms - 24
[info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/network_connection
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getNetworkConnection() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[info] [AndroidDriver] Getting network connection
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings get global airplane_mode_on'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings get global wifi_on'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell settings get global mobile_data'[debug] [W3C (3e2cf7ee)] Responding to client with driver.getNetworkConnection() result: 6
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/network_connection 200 177 ms - 11
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/appium/device/current_activity
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getCurrentActivity() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [ADB] Getting focused package and activity
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell dumpsys window windows'
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getCurrentActivity() result: "com.rwwa.android.tabtouch.MainActivity"
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/appium/device/current_activity 200 106 ms - 50
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/appium/settings
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getSettings() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [WD Proxy] Matched '/appium/settings' to command name 'getSettings'
[debug] [WD Proxy] Proxying [GET /appium/settings] to [GET http://127.0.0.1:8200/wd/hub/session/d742a029-62e6-470f-ab0b-f39395e2bdbe/appium/settings] with no body
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":{"actionAcknowledgmentTimeout":3000,"allowInvisibleElements":false,"ignoreUnimportantViews":false,"elementResponseAttributes":"","enableMultiWindows":false,"enableNotificationListener":true,"keyInjectionDelay":0,"scrollAcknowledgmentTimeout":200,"shouldUseCompactResponses":true,"waitForIdleTimeout":10000,"waitForSelectorTimeout":10000,"normalizeTagNames":false,"shutdownOnPowerDisconnect":true,"trackScrollEvents":true,"wakeLockTimeout":86374525}}
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getSettings() result: {"imageMatchThreshold":0.4,"fixImageFindScreenshotDims":true,"fixImageTemplateSize":false,"fixImageTemplateScale":false,"defaultImageTemplateScale":1,"checkForImageElementStaleness":true,"autoUpdateImageElementPosition":false,"imageElementTapStrategy":"w3cActions","getMatchedImageResult":false,"ignoreUnimportantViews":false,"allowInvisibleElements":false,"actionAcknowledgmentTimeout":3000,"elementResponseAttributes":"","enableMultiWindows":false,"enableNotificationListener":true,"keyInjectionDelay":0,"scrollAcknowledgmentTimeout":200,"shouldUseCompactResponses":true,"waitForIdleTimeout":10000,"waitForSelectorTimeout":10000,"normalizeTagNames":false,"shutdownOnPowerDisconnect":true,"trackScrollEvents":true,"wakeLockTimeout":86374525}
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/appium/settings 200 30 ms - 752
[info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/context
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getCurrentContext() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP"
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/context 200 1 ms - 22
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/contexts
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getContexts() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [AndroidDriver] Getting a list of available webviews
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell cat /proc/net/unix'
[info] [AndroidDriver] Not checking whether webviews have active pages; use the 'ensureWebviewsHavePages' cap to turn this check on
[debug] [AndroidDriver] Found webviews: []
[debug] [AndroidDriver] Available contexts: ["NATIVE_APP"]
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getContexts() result: ["NATIVE_APP"]
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/contexts 200 67 ms - 24
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/appium/device/system_time
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getDeviceTime() with args: [null,"3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [AndroidDriver] Attempting to capture android device date and time. The format specifier is 'YYYY-MM-DDTHH:mm:ssZ'
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell date +%Y-%m-%dT%T%z'
[debug] [AndroidDriver] Got device timestamp: 2020-05-04T20:36:16+0800
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getDeviceTime() result: "2020-05-04T20:36:16+08:00"
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/appium/device/system_time 200 48 ms - 37
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/location
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getGeoLocation() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [ADB] Running '/Users/arpit/Library/Android/sdk/platform-tools/adb -P 5037 -s 27e3c4b81f1c7ece shell am broadcast -n io.appium.settings/.receivers.LocationInfoReceiver -a io.appium.settings.location'
[debug] [ADB] Got geo coordinates: {"latitude":"-31.81026","longitude":"115.86753","altitude":"0.00000"}
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getGeoLocation() result: {"latitude":-31.81026,"longitude":115.86753,"altitude":5e-324}
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/location 200 76 ms - 72
[info] [HTTP] 
[info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/orientation
[info] [HTTP] {}
[info] [W3C (3e2cf7ee)] Driver proxy active, passing request on via HTTP proxy
[debug] [WD Proxy] Matched '/wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/orientation' to command name 'getOrientation'
[debug] [WD Proxy] Proxying [GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/orientation] to [GET http://127.0.0.1:8200/wd/hub/session/d742a029-62e6-470f-ab0b-f39395e2bdbe/orientation] with body: {}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":"PORTRAIT"}
[info] [WD Proxy] Replacing sessionId d742a029-62e6-470f-ab0b-f39395e2bdbe with 3e2cf7ee-0024-45b8-b8a2-5d4921b1c563
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/orientation 200 19 ms - 71
[info] [HTTP] [info] [HTTP] --> GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563
[info] [HTTP] {}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.getSession() with args: ["3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [UiAutomator2] Getting session details from server to mix in
[debug] [WD Proxy] Matched '/' to command name 'getSession'
[debug] [WD Proxy] Proxying [GET /] to [GET http://127.0.0.1:8200/wd/hub/session/d742a029-62e6-470f-ab0b-f39395e2bdbe] with body: {}
[debug] [WD Proxy] Got response with status 200: {"sessionId":"d742a029-62e6-470f-ab0b-f39395e2bdbe","value":{}}
[debug] [W3C (3e2cf7ee)] Responding to client with driver.getSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"9.0","deviceName":"Galaxy S9","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2"},"platformName":"Android","platformVersion":"9","deviceName":"27e3c4b81f1c7ece","app":"/Users/arpit/Documents/TabtouchApps/TabTouch-qual.apk","automationName":"UiAutomator2","deviceUDID":"27e3c4b81f1c7ece","appPackage":"com.rwwa.android.tabtouch.qual","deviceApiLevel":28,"deviceScreenSize":"1080x2220","deviceScreenDensity":480,"deviceModel":"SM-G960F","deviceManufacturer":"samsung","pixelRatio":3,"statBarHeight":72,"viewportRect":{"left":0,"top":72,"width":1080,"height":2004}}
[info] [HTTP] <-- GET /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563 200 17 ms - 865
[info] [HTTP] [info] [HTTP] --> POST /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/element
[info] [HTTP] {"using":"css selector","value":"[data-tid-header-my-bets]"}
[debug] [W3C (3e2cf7ee)] Calling AppiumDriver.findElement() with args: ["css selector","[data-tid-header-my-bets]","3e2cf7ee-0024-45b8-b8a2-5d4921b1c563"]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator
[debug] [W3C (3e2cf7ee)] Encountered internal error running command: InvalidSelectorError: Locator Strategy 'css selector' is not supported for this session
[debug] [W3C (3e2cf7ee)] at AndroidUiautomator2Driver.validateLocatorStrategy (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:388:13)
[debug] [W3C (3e2cf7ee)] at AndroidUiautomator2Driver.findElOrElsWithProcessing (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:31:8)
[debug] [W3C (3e2cf7ee)] at AndroidUiautomator2Driver.findElement (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/commands/find.js:53:21)
[debug] [W3C (3e2cf7ee)] at commandExecutor (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:330:9)
[debug] [W3C (3e2cf7ee)] at /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:125:12
[debug] [W3C (3e2cf7ee)] at AsyncLock._promiseTry (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:249:31)
[debug] [W3C (3e2cf7ee)] at exec (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:124:9)
[debug] [W3C (3e2cf7ee)] at AsyncLock.acquire (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/async-lock/lib/index.js:140:3)
[debug] [W3C (3e2cf7ee)] at AndroidUiautomator2Driver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/basedriver/driver.js:343:39)
[debug] [W3C (3e2cf7ee)] at AppiumDriver.executeCommand (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/lib/appium.js:534:36)
[debug] [W3C (3e2cf7ee)] at runMicrotasks (<anonymous>)
[debug] [W3C (3e2cf7ee)] at processTicksAndRejections (internal/process/task_queues.js:85:5)
[debug] [W3C (3e2cf7ee)] at asyncHandler (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-base-driver/lib/protocol/protocol.js:309:21)
[info] [HTTP] <-- POST /wd/hub/session/3e2cf7ee-0024-45b8-b8a2-5d4921b1c563/element 400 54 ms - 2056
[info] [HTTP] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment