2021-11-24 06:20:19:818 [Appium] Welcome to Appium v1.21.0 2021-11-24 06:20:19:819 [Appium] Non-default server args: 2021-11-24 06:20:19:820 [Appium] port: 62857 2021-11-24 06:20:19:820 [Appium] sessionOverride: true 2021-11-24 06:20:19:820 [Appium] logFile: C:\Users\wxr836\Documents\testation\testation\AppiumABAC_ServerLog.txt 2021-11-24 06:20:19:821 [Appium] defaultCommandTimeout: 150 2021-11-24 06:20:19:847 [Appium] Appium REST http interface listener started on 0.0.0.0:62857 2021-11-24 06:20:20:083 [HTTP] --> GET /wd/hub/status 2021-11-24 06:20:20:083 [HTTP] {} 2021-11-24 06:20:20:085 [GENERIC] Calling AppiumDriver.getStatus() with args: [] 2021-11-24 06:20:20:086 [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.21.0"}} 2021-11-24 06:20:20:090 [HTTP] <-- GET /wd/hub/status 200 5 ms - 68 2021-11-24 06:20:20:090 [HTTP] 2021-11-24 06:20:21:058 [HTTP] Request idempotency key: 5d071422-7eb1-4618-b737-d48d7bbe2c4b 2021-11-24 06:20:21:078 [HTTP] --> POST /wd/hub/session 2021-11-24 06:20:21:078 [HTTP] {"desiredCapabilities":{"noReset":false,"newCommandTimeout":"3000","acceptInsecureCerts":false,"automationName":"UIAutomator2","autoGrantPermissions":true,"takesScreenshot":true,"platformName":"Android","udid":"199.0.0.4:5500","deviceName":"MACKENZIE","fullReset":false,"systemPort":62857},"capabilities":{"firstMatch":[{"acceptInsecureCerts":false,"appium:autoGrantPermissions":true,"appium:automationName":"UIAutomator2","appium:deviceName":"MACKENZIE","appium:fullReset":false,"appium:newCommandTimeout":"3000","appium:noReset":false,"platformName":"android","appium:systemPort":62857,"takesScreenshot":true,"appium:udid":"199.0.0.4:5500"}]}} 2021-11-24 06:20:21:079 [W3C] Calling AppiumDriver.createSession() with args: [{"noReset":false,"newCommandTimeout":"3000","acceptInsecureCerts":false,"automationName":"UIAutomator2","autoGrantPermissions":true,"takesScreenshot":true,"platformName":"Android","udid":"199.0.0.4:5500","deviceName":"MACKENZIE","fullReset":false,"systemPort":62857},null,{"firstMatch":[{"acceptInsecureCerts":false,"appium:autoGrantPermissions":true,"appium:automationName":"UIAutomator2","appium:deviceName":"MACKENZIE","appium:fullReset":false,"appium:newCommandTimeout":"3000","appium:noReset":false,"platformName":"android","appium:systemPort":62857,"takesScreenshot":true,"appium:udid":"199.0.0.4:5500"}]}] 2021-11-24 06:20:21:080 [BaseDriver] Event 'newSessionRequested' logged at 1637734821079 (14:20:21 GMT+0800 (Malaysia Time)) 2021-11-24 06:20:21:081 [BaseDriver] The following capabilities are not standard capabilities and should have an extension prefix: 2021-11-24 06:20:21:082 [BaseDriver] takesScreenshot 2021-11-24 06:20:21:084 [BaseDriver] Number capability passed in as string. Functionality may be compromised. 2021-11-24 06:20:21:575 [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.0) session 2021-11-24 06:20:21:576 [Appium] There are no active sessions for cleanup 2021-11-24 06:20:21:578 [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided 2021-11-24 06:20:21:578 [BaseDriver] Creating session with W3C capabilities: { 2021-11-24 06:20:21:578 [BaseDriver] "alwaysMatch": { 2021-11-24 06:20:21:578 [BaseDriver] "acceptInsecureCerts": false, 2021-11-24 06:20:21:578 [BaseDriver] "platformName": "android", 2021-11-24 06:20:21:578 [BaseDriver] "appium:takesScreenshot": true, 2021-11-24 06:20:21:578 [BaseDriver] "appium:autoGrantPermissions": true, 2021-11-24 06:20:21:578 [BaseDriver] "appium:automationName": "UIAutomator2", 2021-11-24 06:20:21:579 [BaseDriver] "appium:deviceName": "MACKENZIE", 2021-11-24 06:20:21:579 [BaseDriver] "appium:fullReset": false, 2021-11-24 06:20:21:579 [BaseDriver] "appium:newCommandTimeout": "3000", 2021-11-24 06:20:21:579 [BaseDriver] "appium:noReset": false, 2021-11-24 06:20:21:579 [BaseDriver] "appium:systemPort": 62857, 2021-11-24 06:20:21:579 [BaseDriver] "appium:udid": "199.0.0.4:5500" 2021-11-24 06:20:21:579 [BaseDriver] }, 2021-11-24 06:20:21:579 [BaseDriver] "firstMatch": [ 2021-11-24 06:20:21:580 [BaseDriver] {} 2021-11-24 06:20:21:580 [BaseDriver] ] 2021-11-24 06:20:21:580 [BaseDriver] } 2021-11-24 06:20:21:581 [BaseDriver] Number capability passed in as string. Functionality may be compromised. 2021-11-24 06:20:21:583 [BaseDriver] Capability 'newCommandTimeout' changed from string ('3000') to integer (3000). This may cause unexpected behavior 2021-11-24 06:20:21:585 [BaseDriver] The following capabilities were provided, but are not recognized by Appium: 2021-11-24 06:20:21:585 [BaseDriver] acceptInsecureCerts 2021-11-24 06:20:21:585 [BaseDriver] takesScreenshot 2021-11-24 06:20:21:586 [BaseDriver] Session created with session id: 3fdfe242-b11a-433d-9d82-92586fba8e48 2021-11-24 06:20:21:586 [UiAutomator2] Neither 'app' nor 'appPackage' was set. Starting UiAutomator2 without the target application 2021-11-24 06:20:21:601 [ADB] Found 6 'build-tools' folders under 'C:\Users\wxr836\AppData\Local\Android\Sdk' (newest first): 2021-11-24 06:20:21:601 [ADB] C:/Users/wxr836/AppData/Local/Android/Sdk/build-tools/30.0.3 2021-11-24 06:20:21:601 [ADB] C:/Users/wxr836/AppData/Local/Android/Sdk/build-tools/29.0.3 2021-11-24 06:20:21:601 [ADB] C:/Users/wxr836/AppData/Local/Android/Sdk/build-tools/29.0.2 2021-11-24 06:20:21:601 [ADB] C:/Users/wxr836/AppData/Local/Android/Sdk/build-tools/28.0.3 2021-11-24 06:20:21:601 [ADB] C:/Users/wxr836/AppData/Local/Android/Sdk/build-tools/27.0.3 2021-11-24 06:20:21:602 [ADB] C:/Users/wxr836/AppData/Local/Android/Sdk/build-tools/20.0.0 2021-11-24 06:20:21:602 [ADB] Using 'adb.exe' from 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe' 2021-11-24 06:20:21:603 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' 2021-11-24 06:20:21:652 [AndroidDriver] Retrieving device list 2021-11-24 06:20:21:652 [ADB] Trying to find a connected android device 2021-11-24 06:20:21:653 [ADB] Getting connected devices 2021-11-24 06:20:21:701 [ADB] Connected devices: [{"udid":"199.0.0.4:5500","state":"device"}] 2021-11-24 06:20:21:701 [AndroidDriver] Using device: 199.0.0.4:5500 2021-11-24 06:20:21:702 [ADB] Using 'adb.exe' from 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe' 2021-11-24 06:20:21:703 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server' 2021-11-24 06:20:21:742 [ADB] Setting device id to 199.0.0.4:5500 2021-11-24 06:20:21:743 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell getprop ro.build.version.sdk' 2021-11-24 06:20:21:902 [ADB] Current device property 'ro.build.version.sdk': 30 2021-11-24 06:20:21:902 [ADB] Getting device platform version 2021-11-24 06:20:21:902 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell getprop ro.build.version.release' 2021-11-24 06:20:22:069 [ADB] Current device property 'ro.build.version.release': 11 2021-11-24 06:20:22:069 [ADB] Device API level: 30 2021-11-24 06:20:22:069 [UiAutomator2] Relaxing hidden api policy 2021-11-24 06:20:22:069 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' 2021-11-24 06:20:22:573 [AndroidDriver] No app sent in, not parsing package/activity 2021-11-24 06:20:22:574 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 wait-for-device' 2021-11-24 06:20:22:622 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell echo ping' 2021-11-24 06:20:22:772 [AndroidDriver] Pushing settings apk to device... 2021-11-24 06:20:22:773 [ADB] Getting install status for io.appium.settings 2021-11-24 06:20:22:773 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys package io.appium.settings' 2021-11-24 06:20:22:985 [ADB] 'io.appium.settings' is installed 2021-11-24 06:20:22:986 [ADB] Getting package info for 'io.appium.settings' 2021-11-24 06:20:22:986 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys package io.appium.settings' 2021-11-24 06:20:23:209 [ADB] The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.3.0' >= '3.3.0') 2021-11-24 06:20:23:209 [ADB] There is no need to install/upgrade 'C:\Users\wxr836\AppData\Roaming\npm\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' 2021-11-24 06:20:23:210 [ADB] Getting IDs of all 'io.appium.settings' processes 2021-11-24 06:20:23:210 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell 'pgrep --help; echo $?'' 2021-11-24 06:20:23:460 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)io\.appium\.settings\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:20:23:795 [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions. 2021-11-24 06:20:23:795 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell appops set io.appium.settings android:mock_location allow' 2021-11-24 06:20:24:042 [Logcat] Starting logs capture with command: C:\\Users\\wxr836\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -P 5037 -s 199.0.0.4\:5500 logcat -v threadtime 2021-11-24 06:20:24:198 [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 62857 2021-11-24 06:20:24:198 [ADB] Forwarding system: 62857 to device: 6790 2021-11-24 06:20:24:199 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 forward tcp:62857 tcp:6790' 2021-11-24 06:20:24:256 [ADB] Getting install status for io.appium.uiautomator2.server 2021-11-24 06:20:24:256 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys package io.appium.uiautomator2.server' 2021-11-24 06:20:24:651 [ADB] 'io.appium.uiautomator2.server' is installed 2021-11-24 06:20:24:651 [ADB] Getting package info for 'io.appium.uiautomator2.server' 2021-11-24 06:20:24:651 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys package io.appium.uiautomator2.server' 2021-11-24 06:20:25:419 [ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.21.1' >= '4.21.1') 2021-11-24 06:20:25:420 [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled 2021-11-24 06:20:25:420 [ADB] Checking app cert for C:\Users\wxr836\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk 2021-11-24 06:20:25:423 [ADB] Using 'apksigner.jar' from 'C:\Users\wxr836\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar' 2021-11-24 06:20:25:424 [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_281\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\wxr836\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\wxr836\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-v4.21.1.apk 2021-11-24 06:20:25:898 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2021-11-24 06:20:25:898 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2021-11-24 06:20:25:898 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2021-11-24 06:20:25:898 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2021-11-24 06:20:25:898 [ADB] 2021-11-24 06:20:25:898 [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' 2021-11-24 06:20:25:898 [ADB] 'C:\Users\wxr836\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate 2021-11-24 06:20:25:898 [ADB] Getting install status for io.appium.uiautomator2.server.test 2021-11-24 06:20:25:899 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys package io.appium.uiautomator2.server.test' 2021-11-24 06:20:26:364 [ADB] 'io.appium.uiautomator2.server.test' is installed 2021-11-24 06:20:26:364 [ADB] Checking app cert for C:\Users\wxr836\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk 2021-11-24 06:20:26:364 [ADB] Starting apksigner: 'C:\\Program Files\\Java\\jdk1.8.0_281\\bin\\java.exe' -Xmx1024M -Xss1m -jar C:\\Users\\wxr836\\AppData\\Local\\Android\\Sdk\\build-tools\\30.0.3\\lib\\apksigner.jar verify --print-certs C:\\Users\\wxr836\\AppData\\Roaming\\npm\\node_modules\\appium\\node_modules\\appium-uiautomator2-server\\apks\\appium-uiautomator2-server-debug-androidTest.apk 2021-11-24 06:20:26:740 [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US 2021-11-24 06:20:26:740 [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc 2021-11-24 06:20:26:740 [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 2021-11-24 06:20:26:740 [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 2021-11-24 06:20:26:740 [ADB] 2021-11-24 06:20:26:741 [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' 2021-11-24 06:20:26:741 [ADB] 'C:\Users\wxr836\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate 2021-11-24 06:20:26:741 [UiAutomator2] Server packages are not going to be (re)installed 2021-11-24 06:20:26:743 [UiAutomator2] Waiting up to 30000ms for services to be available 2021-11-24 06:20:26:744 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pm list instrumentation' 2021-11-24 06:20:27:173 [UiAutomator2] Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available 2021-11-24 06:20:27:175 [ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist 2021-11-24 06:20:27:176 [ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server",";","dumpsys","deviceidle","whitelist","+io.appium.uiautomator2.server.test",";"]] 2021-11-24 06:20:27:176 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' 2021-11-24 06:20:27:803 [UiAutomator2] No app capability. Assuming it is already on the device 2021-11-24 06:20:27:804 [UiAutomator2] Performing shallow cleanup of automation leftovers 2021-11-24 06:20:28:210 [UiAutomator2] No obsolete sessions have been detected (socket hang up) 2021-11-24 06:20:28:210 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell am force-stop io.appium.uiautomator2.server.test' 2021-11-24 06:20:28:882 [UiAutomator2] Starting UIAutomator2 server 4.21.1 2021-11-24 06:20:28:882 [UiAutomator2] Using UIAutomator2 server from 'C:\Users\wxr836\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.21.1.apk' and test from 'C:\Users\wxr836\AppData\Roaming\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' 2021-11-24 06:20:28:882 [UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online... 2021-11-24 06:20:28:882 [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","199.0.0.4:5500","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] 2021-11-24 06:20:28:900 [WD Proxy] Matched '/status' to command name 'getStatus' 2021-11-24 06:20:28:901 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:62857/wd/hub/status] with no body 2021-11-24 06:20:29:313 [WD Proxy] socket hang up 2021-11-24 06:20:30:315 [WD Proxy] Matched '/status' to command name 'getStatus' 2021-11-24 06:20:30:316 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:62857/wd/hub/status] with no body 2021-11-24 06:20:30:332 [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server: 2021-11-24 06:20:30:345 [WD Proxy] socket hang up 2021-11-24 06:20:31:345 [WD Proxy] Matched '/status' to command name 'getStatus' 2021-11-24 06:20:31:346 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:62857/wd/hub/status] with no body 2021-11-24 06:20:31:394 [WD Proxy] socket hang up 2021-11-24 06:20:32:396 [WD Proxy] Matched '/status' to command name 'getStatus' 2021-11-24 06:20:32:396 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:62857/wd/hub/status] with no body 2021-11-24 06:20:32:425 [WD Proxy] socket hang up 2021-11-24 06:20:33:426 [WD Proxy] Matched '/status' to command name 'getStatus' 2021-11-24 06:20:33:426 [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:62857/wd/hub/status] with no body 2021-11-24 06:20:33:547 [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} 2021-11-24 06:20:33:548 [UiAutomator2] The initialization of the instrumentation process took 4666ms 2021-11-24 06:20:33:548 [WD Proxy] Matched '/session' to command name 'createSession' 2021-11-24 06:20:33:548 [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:62857/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"acceptInsecureCerts":false,"platformName":"android","takesScreenshot":true,"autoGrantPermissions":true,"automationName":"UIAutomator2","deviceName":"MACKENZIE","fullReset":false,"newCommandTimeout":3000,"noReset":false,"systemPort":62857,"udid":"199.0.0.4:5500"},"acceptInsecureCerts":false,"platformName":"android","autoGrantPermissions":true,"automationName":"UIAutomator2","deviceName":"199.0.0.4:5500","fullReset":false,"newCommandTimeout":3000,"noReset":false,"systemPort":62857,"udid":"199.0.0.4:5500","deviceUDID":"199.0.0.4:5500"}],"alwaysMatch":{}}} 2021-11-24 06:20:33:618 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"acceptInsecureCerts":false,"platformName":"android","takesScreenshot":true,"autoGrantPermissions":true,"automationName":"UIAutomator2","deviceName":"MACKENZIE","fullReset":false,"newCommandTimeout":3000,"noReset":false,"systemPort":62857,"udid":"199.0.0.4:5500"},"acceptInsecureCerts":false,"platformName":"android","autoGrantPermissions":true,"automationName":"UIAutomator2","deviceName":"199.0.0.4:5500","fullReset":false,"newCommandTimeout":3000,"noReset":false,"systemPort":62857,"udid":"199.0.0.4:5500","deviceUDID":"199.0.0.4:5500"}],"alwaysMatch":{}},"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0"}} 2021-11-24 06:20:33:618 [WD Proxy] Determined the downstream protocol as 'W3C' 2021-11-24 06:20:33:627 [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/info] with no body 2021-11-24 06:20:33:715 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"androidId":"5d8d5a095d500263","apiVersion":"30","bluetooth":{"state":"ON"},"brand":"MotSol","carrierName":"","displayDensity":220,"locale":"en_US","manufacturer":"Motorola Solutions","model":"MSLB-MKZ900","networks":[],"platformVersion":"11","realDisplaySize":"480x800","timeZone":"GMT"}} 2021-11-24 06:20:33:715 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:20:34:093 [AndroidDriver] Screen is locked, trying to unlock 2021-11-24 06:20:34:093 [AndroidDriver] Using app unlock, this is going to be deprecated! 2021-11-24 06:20:34:094 [AndroidDriver] Unlocking screen 2021-11-24 06:20:34:094 [AndroidDriver] Launching .Unlock 2021-11-24 06:20:34:094 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell am start -n io.appium.settings/.Unlock -c android.intent.category.LAUNCHER -a android.intent.action.MAIN -f 0x10200000' 2021-11-24 06:20:35:362 [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/pixel_ratio] with no body 2021-11-24 06:20:35:480 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":1.375} 2021-11-24 06:20:35:481 [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' 2021-11-24 06:20:35:481 [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/system_bars] with no body 2021-11-24 06:20:35:538 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"statusBar":33}} 2021-11-24 06:20:35:538 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:20:35:538 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:20:35:588 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:20:35:588 [Appium] New AndroidUiautomator2Driver session created successfully, session 3fdfe242-b11a-433d-9d82-92586fba8e48 added to master session list 2021-11-24 06:20:35:589 [BaseDriver] Event 'newSessionStarted' logged at 1637734835589 (14:20:35 GMT+0800 (Malaysia Time)) 2021-11-24 06:20:35:589 [W3C (3fdfe242)] Cached the protocol value 'W3C' for the new session 3fdfe242-b11a-433d-9d82-92586fba8e48 2021-11-24 06:20:35:590 [W3C (3fdfe242)] Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"acceptInsecureCerts":false,"platformName":"android","takesScreenshot":true,"autoGrantPermissions":true,"automationName":"UIAutomator2","deviceName":"MACKENZIE","fullReset":false,"newCommandTimeout":3000,"noReset":false,"systemPort":62857,"udid":"199.0.0.4:5500"},"acceptInsecureCerts":false,"platformName":"android","autoGrantPermissions":true,"automationName":"UIAutomator2","deviceName":"199.0.0.4:5500","fullReset":false,"newCommandTimeout":3000,"noReset":false,"systemPort":62857,"udid":"199.0.0.4:5500","deviceUDID":"199.0.0.4:5500","deviceApiLevel":30,"platformVersion":"11","deviceScreenSize":"480x800","deviceScreenDensity":220,"deviceModel":"MSLB-MKZ900","deviceManufacturer":"Motorola Solutions","pixelRatio":1.375,"statBarHeight":33,"viewportRect":{"left":0,"top":33,"width":480,"height"... 2021-11-24 06:20:35:591 [HTTP] <-- POST /wd/hub/session 200 14512 ms - 1089 2021-11-24 06:20:35:591 [HTTP] 2021-11-24 06:20:35:637 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/settings 2021-11-24 06:20:35:637 [HTTP] {"settings":{"waitForIdleTimeout":100}} 2021-11-24 06:20:35:643 [W3C (3fdfe242)] Calling AppiumDriver.updateSettings() with args: [{"waitForIdleTimeout":100},"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:35:643 [UiAutomator2] Forwarding the following settings to the UiAutomator2 server: ["waitForIdleTimeout"] 2021-11-24 06:20:35:644 [WD Proxy] Matched '/appium/settings' to command name 'updateSettings' 2021-11-24 06:20:35:644 [WD Proxy] Proxying [POST /appium/settings] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/settings] with body: {"settings":{"waitForIdleTimeout":100}} 2021-11-24 06:20:35:687 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:20:35:687 [W3C (3fdfe242)] Responding to client with driver.updateSettings() result: null 2021-11-24 06:20:35:689 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/settings 200 51 ms - 14 2021-11-24 06:20:35:689 [HTTP] 2021-11-24 06:20:39:255 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:20:39:255 [HTTP] {} 2021-11-24 06:20:39:259 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:39:260 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:20:39:260 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:20:39:600 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:20:39:600 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:20:39:600 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:20:39:931 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/76b1db4e.mp4 2021-11-24 06:20:39:946 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/76b1db4e.mp4' ] && echo __PASS__"' 2021-11-24 06:20:40:442 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/76b1db4e.mp4' ] && echo __PASS__"' 2021-11-24 06:20:40:583 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:20:40:584 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1328 ms - 12 2021-11-24 06:20:40:584 [HTTP] 2021-11-24 06:20:41:052 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:20:41:052 [HTTP] {"implicit":6000} 2021-11-24 06:20:41:053 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:41:053 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:20:41:054 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:20:41:054 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:20:41:055 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 3 ms - 14 2021-11-24 06:20:41:055 [HTTP] 2021-11-24 06:20:41:065 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:20:41:066 [HTTP] {} 2021-11-24 06:20:41:066 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:41:067 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:20:41:413 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:20:41:414 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 348 ms - 14 2021-11-24 06:20:41:415 [HTTP] 2021-11-24 06:20:41:418 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:20:41:418 [HTTP] {} 2021-11-24 06:20:41:419 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:41:419 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:20:41:796 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:20:41:797 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 378 ms - 14 2021-11-24 06:20:41:798 [HTTP] 2021-11-24 06:20:41:813 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:20:41:814 [HTTP] {"keycode":3} 2021-11-24 06:20:41:815 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:41:816 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:20:41:816 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:20:41:958 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:20:41:958 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:20:41:960 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 145 ms - 14 2021-11-24 06:20:41:960 [HTTP] 2021-11-24 06:20:41:966 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:20:41:966 [HTTP] {} 2021-11-24 06:20:41:970 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:41:970 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:20:41:971 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:20:42:027 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:20:42:027 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:20:42:029 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 62 ms - 48 2021-11-24 06:20:42:029 [HTTP] 2021-11-24 06:20:42:044 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:20:42:045 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:20:42:045 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:42:047 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:20:42:047 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:20:44:308 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:20:44:308 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:20:44:310 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2264 ms - 14 2021-11-24 06:20:44:310 [HTTP] 2021-11-24 06:20:44:321 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:20:44:321 [HTTP] {"keycode":3} 2021-11-24 06:20:44:322 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:44:323 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:20:44:323 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:20:46:707 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:20:46:708 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:20:46:710 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2387 ms - 14 2021-11-24 06:20:46:710 [HTTP] 2021-11-24 06:20:47:240 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:20:47:240 [HTTP] {"seconds":0} 2021-11-24 06:20:47:240 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:47:241 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:20:47:925 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:20:47:925 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:20:49:182 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:20:49:779 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:20:49:780 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2540 ms - 14 2021-11-24 06:20:49:780 [HTTP] 2021-11-24 06:20:50:158 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:20:50:158 [HTTP] {} 2021-11-24 06:20:50:158 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:50:158 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:20:50:503 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:20:50:505 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 346 ms - 14 2021-11-24 06:20:50:506 [HTTP] 2021-11-24 06:20:50:836 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:20:50:836 [HTTP] {} 2021-11-24 06:20:50:837 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:50:837 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:20:50:839 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 2 ms - 22 2021-11-24 06:20:50:839 [HTTP] 2021-11-24 06:20:50:847 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:20:50:847 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:20:50:847 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:50:848 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:20:50:848 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:20:50:849 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:20:50:849 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:20:51:084 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:20:51:084 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:20:51:085 [BaseDriver] Waited for 236 ms so far 2021-11-24 06:20:51:585 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:20:51:585 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:20:51:988 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"a5872a98-d824-4527-b1a1-c099a07ac064","element-6066-11e4-a52e-4f735466cecf":"a5872a98-d824-4527-b1a1-c099a07ac064"}} 2021-11-24 06:20:51:988 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"a5872a98-d824-4527-b1a1-c099a07ac064","ELEMENT":"a5872a98-d824-4527-b1a1-c099a07ac064"} 2021-11-24 06:20:51:989 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1142 ms - 137 2021-11-24 06:20:51:989 [HTTP] 2021-11-24 06:20:51:994 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/a5872a98-d824-4527-b1a1-c099a07ac064/displayed 2021-11-24 06:20:51:994 [HTTP] {} 2021-11-24 06:20:51:995 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["a5872a98-d824-4527-b1a1-c099a07ac064","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:51:996 [WD Proxy] Matched '/element/a5872a98-d824-4527-b1a1-c099a07ac064/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:20:51:996 [WD Proxy] Proxying [GET /element/a5872a98-d824-4527-b1a1-c099a07ac064/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/a5872a98-d824-4527-b1a1-c099a07ac064/attribute/displayed] with no body 2021-11-24 06:20:52:457 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:20:52:458 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:20:52:459 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/a5872a98-d824-4527-b1a1-c099a07ac064/displayed 200 464 ms - 14 2021-11-24 06:20:52:459 [HTTP] 2021-11-24 06:20:52:463 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:20:52:463 [HTTP] {"keycode":4} 2021-11-24 06:20:52:463 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:52:464 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:20:52:464 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:20:52:548 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:20:52:548 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:20:52:549 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 85 ms - 14 2021-11-24 06:20:52:550 [HTTP] 2021-11-24 06:20:52:567 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:20:52:568 [HTTP] {} 2021-11-24 06:20:52:568 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:20:52:569 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:20:52:569 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:20:52:892 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 22695' 2021-11-24 06:20:53:022 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:20:53:022 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:20:53:832 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:20:53:832 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:20:54:142 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/76b1db4e.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-lufe64.pxn8r\76b1db4e.mp4' 2021-11-24 06:21:05:693 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/76b1db4e.mp4' 2021-11-24 06:21:05:921 [AndroidDriver] The size of the resulting screen recording is 2.60 MB 2021-11-24 06:21:05:963 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:21:05:983 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 13411 ms - 3641280 2021-11-24 06:21:05:983 [HTTP] 2021-11-24 06:21:06:145 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:21:06:145 [HTTP] {} 2021-11-24 06:21:06:145 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:06:145 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:06:146 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:06:461 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:21:06:461 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:06:461 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:06:758 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/4d6c63a7.mp4 2021-11-24 06:21:06:773 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/4d6c63a7.mp4' ] && echo __PASS__"' 2021-11-24 06:21:07:231 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/4d6c63a7.mp4' ] && echo __PASS__"' 2021-11-24 06:21:07:370 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:21:07:371 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1226 ms - 12 2021-11-24 06:21:07:371 [HTTP] 2021-11-24 06:21:07:714 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:21:07:714 [HTTP] {"implicit":6000} 2021-11-24 06:21:07:715 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:07:715 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:21:07:715 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:21:07:716 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:21:07:717 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 2 ms - 14 2021-11-24 06:21:07:717 [HTTP] 2021-11-24 06:21:07:722 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:21:07:722 [HTTP] {} 2021-11-24 06:21:07:722 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:07:722 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:08:122 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:21:08:123 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 400 ms - 14 2021-11-24 06:21:08:123 [HTTP] 2021-11-24 06:21:08:128 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:21:08:128 [HTTP] {} 2021-11-24 06:21:08:128 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:08:129 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:08:530 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:21:08:532 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 402 ms - 14 2021-11-24 06:21:08:532 [HTTP] 2021-11-24 06:21:08:536 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:21:08:536 [HTTP] {"keycode":3} 2021-11-24 06:21:08:537 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:08:542 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:21:08:542 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:21:08:668 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:08:668 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:21:08:669 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 132 ms - 14 2021-11-24 06:21:08:669 [HTTP] 2021-11-24 06:21:08:672 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:21:08:672 [HTTP] {} 2021-11-24 06:21:08:673 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:08:673 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:21:08:674 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:21:08:726 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:21:08:727 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:21:08:728 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 55 ms - 48 2021-11-24 06:21:08:728 [HTTP] 2021-11-24 06:21:08:733 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:21:08:733 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:21:08:734 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:08:734 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:21:08:735 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:21:10:828 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:10:829 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:21:10:830 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2096 ms - 14 2021-11-24 06:21:10:830 [HTTP] 2021-11-24 06:21:10:835 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:21:10:835 [HTTP] {"keycode":3} 2021-11-24 06:21:10:835 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:10:836 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:21:10:836 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:21:13:218 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:13:218 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:21:13:219 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2384 ms - 14 2021-11-24 06:21:13:219 [HTTP] 2021-11-24 06:21:13:466 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:21:13:466 [HTTP] {"seconds":0} 2021-11-24 06:21:13:467 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:13:467 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:13:834 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:21:13:834 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:21:15:102 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:15:662 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:21:15:664 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2196 ms - 14 2021-11-24 06:21:15:664 [HTTP] 2021-11-24 06:21:16:036 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:21:16:036 [HTTP] {} 2021-11-24 06:21:16:037 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:16:037 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:16:391 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:21:16:393 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 355 ms - 14 2021-11-24 06:21:16:393 [HTTP] 2021-11-24 06:21:16:723 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:21:16:723 [HTTP] {} 2021-11-24 06:21:16:724 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:16:724 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:21:16:726 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:21:16:726 [HTTP] 2021-11-24 06:21:16:731 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:21:16:731 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:21:16:732 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:16:732 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:21:16:732 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:21:16:734 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:21:16:735 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:21:16:909 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:21:16:909 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:21:16:909 [BaseDriver] Waited for 176 ms so far 2021-11-24 06:21:17:410 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:21:17:411 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:21:17:804 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"9a913471-25a4-4e61-9c9e-f5fd681c40da","element-6066-11e4-a52e-4f735466cecf":"9a913471-25a4-4e61-9c9e-f5fd681c40da"}} 2021-11-24 06:21:17:805 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"9a913471-25a4-4e61-9c9e-f5fd681c40da","ELEMENT":"9a913471-25a4-4e61-9c9e-f5fd681c40da"} 2021-11-24 06:21:17:806 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1074 ms - 137 2021-11-24 06:21:17:806 [HTTP] 2021-11-24 06:21:17:811 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/9a913471-25a4-4e61-9c9e-f5fd681c40da/displayed 2021-11-24 06:21:17:811 [HTTP] {} 2021-11-24 06:21:17:811 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["9a913471-25a4-4e61-9c9e-f5fd681c40da","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:17:813 [WD Proxy] Matched '/element/9a913471-25a4-4e61-9c9e-f5fd681c40da/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:21:17:813 [WD Proxy] Proxying [GET /element/9a913471-25a4-4e61-9c9e-f5fd681c40da/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/9a913471-25a4-4e61-9c9e-f5fd681c40da/attribute/displayed] with no body 2021-11-24 06:21:18:409 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:21:18:410 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:21:18:412 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/9a913471-25a4-4e61-9c9e-f5fd681c40da/displayed 200 600 ms - 14 2021-11-24 06:21:18:412 [HTTP] 2021-11-24 06:21:18:418 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:21:18:418 [HTTP] {"keycode":4} 2021-11-24 06:21:18:418 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:18:421 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:21:18:421 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:21:18:511 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:18:511 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:21:18:512 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 94 ms - 14 2021-11-24 06:21:18:512 [HTTP] 2021-11-24 06:21:18:518 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:21:18:518 [HTTP] {} 2021-11-24 06:21:18:518 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:18:519 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:18:519 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:18:871 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 22830' 2021-11-24 06:21:18:990 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:18:990 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:19:763 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:19:763 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:20:084 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/4d6c63a7.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-2mwfor.3kf9c\4d6c63a7.mp4' 2021-11-24 06:21:31:966 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/4d6c63a7.mp4' 2021-11-24 06:21:32:197 [AndroidDriver] The size of the resulting screen recording is 2.67 MB 2021-11-24 06:21:32:238 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:21:32:258 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 13735 ms - 3738576 2021-11-24 06:21:32:258 [HTTP] 2021-11-24 06:21:32:399 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:21:32:399 [HTTP] {} 2021-11-24 06:21:32:400 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:32:400 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:32:400 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:32:721 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:21:32:722 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:32:722 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:33:021 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/9e92e203.mp4 2021-11-24 06:21:33:037 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/9e92e203.mp4' ] && echo __PASS__"' 2021-11-24 06:21:33:511 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/9e92e203.mp4' ] && echo __PASS__"' 2021-11-24 06:21:33:655 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:21:33:657 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1257 ms - 12 2021-11-24 06:21:33:657 [HTTP] 2021-11-24 06:21:33:984 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:21:33:984 [HTTP] {"implicit":6000} 2021-11-24 06:21:33:985 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:33:985 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:21:33:985 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:21:33:985 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:21:33:986 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 1 ms - 14 2021-11-24 06:21:33:986 [HTTP] 2021-11-24 06:21:33:990 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:21:33:991 [HTTP] {} 2021-11-24 06:21:33:991 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:33:991 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:34:346 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:21:34:347 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 356 ms - 14 2021-11-24 06:21:34:347 [HTTP] 2021-11-24 06:21:34:352 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:21:34:352 [HTTP] {} 2021-11-24 06:21:34:352 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:34:353 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:34:745 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:21:34:746 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 393 ms - 14 2021-11-24 06:21:34:746 [HTTP] 2021-11-24 06:21:34:751 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:21:34:752 [HTTP] {"keycode":3} 2021-11-24 06:21:34:752 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:34:757 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:21:34:757 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:21:34:868 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:34:868 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:21:34:870 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 117 ms - 14 2021-11-24 06:21:34:870 [HTTP] 2021-11-24 06:21:34:872 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:21:34:872 [HTTP] {} 2021-11-24 06:21:34:872 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:34:873 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:21:34:873 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:21:34:928 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:21:34:928 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:21:34:929 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 56 ms - 48 2021-11-24 06:21:34:929 [HTTP] 2021-11-24 06:21:34:935 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:21:34:935 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:21:34:936 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:34:937 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:21:34:937 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:21:36:858 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:36:858 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:21:36:860 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 1924 ms - 14 2021-11-24 06:21:36:860 [HTTP] 2021-11-24 06:21:36:864 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:21:36:865 [HTTP] {"keycode":3} 2021-11-24 06:21:36:865 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:36:866 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:21:36:866 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:21:39:239 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:39:240 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:21:39:241 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2375 ms - 14 2021-11-24 06:21:39:241 [HTTP] 2021-11-24 06:21:39:458 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:21:39:458 [HTTP] {"seconds":0} 2021-11-24 06:21:39:459 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:39:459 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:39:774 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:21:39:774 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:21:40:892 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:41:533 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:21:41:534 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2075 ms - 14 2021-11-24 06:21:41:536 [HTTP] 2021-11-24 06:21:41:876 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:21:41:876 [HTTP] {} 2021-11-24 06:21:41:877 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:41:877 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:21:42:232 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:21:42:233 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 356 ms - 14 2021-11-24 06:21:42:233 [HTTP] 2021-11-24 06:21:42:566 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:21:42:566 [HTTP] {} 2021-11-24 06:21:42:566 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:42:567 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:21:42:569 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:21:42:569 [HTTP] 2021-11-24 06:21:42:575 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:21:42:575 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:21:42:576 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:42:576 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:21:42:576 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:21:42:577 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:21:42:577 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:21:42:704 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:21:42:704 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:21:42:705 [BaseDriver] Waited for 128 ms so far 2021-11-24 06:21:43:205 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:21:43:205 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:21:43:631 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"d41ec629-c5f1-47f5-a356-899071fd3237","element-6066-11e4-a52e-4f735466cecf":"d41ec629-c5f1-47f5-a356-899071fd3237"}} 2021-11-24 06:21:43:631 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"d41ec629-c5f1-47f5-a356-899071fd3237","ELEMENT":"d41ec629-c5f1-47f5-a356-899071fd3237"} 2021-11-24 06:21:43:632 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1056 ms - 137 2021-11-24 06:21:43:632 [HTTP] 2021-11-24 06:21:43:635 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/d41ec629-c5f1-47f5-a356-899071fd3237/displayed 2021-11-24 06:21:43:635 [HTTP] {} 2021-11-24 06:21:43:636 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["d41ec629-c5f1-47f5-a356-899071fd3237","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:43:636 [WD Proxy] Matched '/element/d41ec629-c5f1-47f5-a356-899071fd3237/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:21:43:636 [WD Proxy] Proxying [GET /element/d41ec629-c5f1-47f5-a356-899071fd3237/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/d41ec629-c5f1-47f5-a356-899071fd3237/attribute/displayed] with no body 2021-11-24 06:21:44:120 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:21:44:120 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:21:44:122 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/d41ec629-c5f1-47f5-a356-899071fd3237/displayed 200 485 ms - 14 2021-11-24 06:21:44:122 [HTTP] 2021-11-24 06:21:44:126 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:21:44:126 [HTTP] {"keycode":4} 2021-11-24 06:21:44:126 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:44:127 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:21:44:127 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:21:44:532 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:21:44:532 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:21:44:533 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 407 ms - 14 2021-11-24 06:21:44:534 [HTTP] 2021-11-24 06:21:44:540 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:21:44:540 [HTTP] {} 2021-11-24 06:21:44:540 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:44:540 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:44:541 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:44:813 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 22959' 2021-11-24 06:21:44:952 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:44:952 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:45:722 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:45:722 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:46:005 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/9e92e203.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-1ds092h.q0f3\9e92e203.mp4' 2021-11-24 06:21:58:385 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/9e92e203.mp4' 2021-11-24 06:21:58:601 [AndroidDriver] The size of the resulting screen recording is 2.71 MB 2021-11-24 06:21:58:643 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:21:58:664 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 14121 ms - 3785840 2021-11-24 06:21:58:664 [HTTP] 2021-11-24 06:21:58:807 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:21:58:807 [HTTP] {} 2021-11-24 06:21:58:807 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:21:58:808 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:58:808 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:59:092 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:21:59:092 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:21:59:092 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:21:59:372 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/5b595992.mp4 2021-11-24 06:21:59:388 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/5b595992.mp4' ] && echo __PASS__"' 2021-11-24 06:21:59:841 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/5b595992.mp4' ] && echo __PASS__"' 2021-11-24 06:21:59:961 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:21:59:963 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1155 ms - 12 2021-11-24 06:21:59:963 [HTTP] 2021-11-24 06:22:00:315 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:22:00:315 [HTTP] {"implicit":6000} 2021-11-24 06:22:00:315 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:00:315 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:22:00:316 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:22:00:316 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:22:00:317 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 2 ms - 14 2021-11-24 06:22:00:317 [HTTP] 2021-11-24 06:22:00:321 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:00:321 [HTTP] {} 2021-11-24 06:22:00:321 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:00:321 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:00:672 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:00:674 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 352 ms - 14 2021-11-24 06:22:00:674 [HTTP] 2021-11-24 06:22:00:678 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:00:678 [HTTP] {} 2021-11-24 06:22:00:678 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:00:678 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:01:014 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:01:016 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 337 ms - 14 2021-11-24 06:22:01:016 [HTTP] 2021-11-24 06:22:01:020 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:22:01:020 [HTTP] {"keycode":3} 2021-11-24 06:22:01:020 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:01:026 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:22:01:026 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:22:01:127 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:01:127 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:22:01:128 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 108 ms - 14 2021-11-24 06:22:01:129 [HTTP] 2021-11-24 06:22:01:131 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:22:01:131 [HTTP] {} 2021-11-24 06:22:01:132 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:01:132 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:22:01:132 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:22:01:199 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:22:01:199 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:22:01:201 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 69 ms - 48 2021-11-24 06:22:01:201 [HTTP] 2021-11-24 06:22:01:205 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:22:01:205 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:22:01:206 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:01:206 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:22:01:207 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:22:03:419 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:03:420 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:22:03:421 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2215 ms - 14 2021-11-24 06:22:03:421 [HTTP] 2021-11-24 06:22:03:426 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:22:03:426 [HTTP] {"keycode":3} 2021-11-24 06:22:03:426 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:03:427 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:22:03:427 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:22:05:809 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:05:809 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:22:05:811 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2384 ms - 14 2021-11-24 06:22:05:811 [HTTP] 2021-11-24 06:22:06:058 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:22:06:058 [HTTP] {"seconds":0} 2021-11-24 06:22:06:058 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:06:058 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:06:691 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:22:06:691 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:22:07:913 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:08:443 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:22:08:444 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2385 ms - 14 2021-11-24 06:22:08:444 [HTTP] 2021-11-24 06:22:08:977 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:08:977 [HTTP] {} 2021-11-24 06:22:08:977 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:08:977 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:09:305 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:09:307 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 329 ms - 14 2021-11-24 06:22:09:307 [HTTP] 2021-11-24 06:22:09:624 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:22:09:624 [HTTP] {} 2021-11-24 06:22:09:624 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:09:624 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:22:09:626 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:22:09:626 [HTTP] 2021-11-24 06:22:09:631 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:22:09:631 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:22:09:631 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:09:632 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:22:09:632 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:22:09:634 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:22:09:635 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:22:09:841 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:22:09:841 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:22:09:841 [BaseDriver] Waited for 209 ms so far 2021-11-24 06:22:10:344 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:22:10:344 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:22:10:762 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"9bcd16c1-380b-4b55-89a1-bd8157443766","element-6066-11e4-a52e-4f735466cecf":"9bcd16c1-380b-4b55-89a1-bd8157443766"}} 2021-11-24 06:22:10:762 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"9bcd16c1-380b-4b55-89a1-bd8157443766","ELEMENT":"9bcd16c1-380b-4b55-89a1-bd8157443766"} 2021-11-24 06:22:10:763 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1132 ms - 137 2021-11-24 06:22:10:764 [HTTP] 2021-11-24 06:22:10:766 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/9bcd16c1-380b-4b55-89a1-bd8157443766/displayed 2021-11-24 06:22:10:766 [HTTP] {} 2021-11-24 06:22:10:767 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["9bcd16c1-380b-4b55-89a1-bd8157443766","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:10:768 [WD Proxy] Matched '/element/9bcd16c1-380b-4b55-89a1-bd8157443766/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:22:10:768 [WD Proxy] Proxying [GET /element/9bcd16c1-380b-4b55-89a1-bd8157443766/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/9bcd16c1-380b-4b55-89a1-bd8157443766/attribute/displayed] with no body 2021-11-24 06:22:11:170 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:22:11:170 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:22:11:171 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/9bcd16c1-380b-4b55-89a1-bd8157443766/displayed 200 404 ms - 14 2021-11-24 06:22:11:171 [HTTP] 2021-11-24 06:22:11:175 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:22:11:175 [HTTP] {"keycode":4} 2021-11-24 06:22:11:176 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:11:180 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:22:11:180 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:22:11:270 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:11:270 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:22:11:271 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 95 ms - 14 2021-11-24 06:22:11:271 [HTTP] 2021-11-24 06:22:11:277 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:22:11:277 [HTTP] {} 2021-11-24 06:22:11:278 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:11:278 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:11:278 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:11:589 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 23085' 2021-11-24 06:22:11:701 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:11:701 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:12:473 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:12:474 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:12:787 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/5b595992.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-11zonl1.33fy\5b595992.mp4' 2021-11-24 06:22:23:594 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/5b595992.mp4' 2021-11-24 06:22:23:793 [AndroidDriver] The size of the resulting screen recording is 2.53 MB 2021-11-24 06:22:23:840 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:22:23:861 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 12580 ms - 3535932 2021-11-24 06:22:23:861 [HTTP] 2021-11-24 06:22:23:999 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:22:23:999 [HTTP] {} 2021-11-24 06:22:24:000 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:24:000 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:24:000 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:24:332 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:22:24:332 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:24:333 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:24:609 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/5cd67a85.mp4 2021-11-24 06:22:24:625 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/5cd67a85.mp4' ] && echo __PASS__"' 2021-11-24 06:22:25:062 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/5cd67a85.mp4' ] && echo __PASS__"' 2021-11-24 06:22:25:166 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:22:25:167 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1167 ms - 12 2021-11-24 06:22:25:167 [HTTP] 2021-11-24 06:22:25:489 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:22:25:489 [HTTP] {"implicit":6000} 2021-11-24 06:22:25:490 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:25:490 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:22:25:490 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:22:25:490 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:22:25:492 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 2 ms - 14 2021-11-24 06:22:25:492 [HTTP] 2021-11-24 06:22:25:496 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:25:497 [HTTP] {} 2021-11-24 06:22:25:497 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:25:497 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:25:836 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:25:837 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 339 ms - 14 2021-11-24 06:22:25:837 [HTTP] 2021-11-24 06:22:25:841 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:25:841 [HTTP] {} 2021-11-24 06:22:25:841 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:25:842 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:26:234 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:26:235 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 393 ms - 14 2021-11-24 06:22:26:235 [HTTP] 2021-11-24 06:22:26:240 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:22:26:240 [HTTP] {"keycode":3} 2021-11-24 06:22:26:240 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:26:245 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:22:26:246 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:22:26:694 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:26:694 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:22:26:696 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 455 ms - 14 2021-11-24 06:22:26:696 [HTTP] 2021-11-24 06:22:26:698 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:22:26:698 [HTTP] {} 2021-11-24 06:22:26:699 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:26:699 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:22:26:699 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:22:26:750 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:22:26:750 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:22:26:751 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 52 ms - 48 2021-11-24 06:22:26:751 [HTTP] 2021-11-24 06:22:26:757 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:22:26:757 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:22:26:758 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:26:758 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:22:26:759 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:22:28:895 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:28:895 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:22:28:897 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2138 ms - 14 2021-11-24 06:22:28:897 [HTTP] 2021-11-24 06:22:28:901 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:22:28:902 [HTTP] {"keycode":3} 2021-11-24 06:22:28:902 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:28:903 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:22:28:903 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:22:31:295 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:31:295 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:22:31:297 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2394 ms - 14 2021-11-24 06:22:31:297 [HTTP] 2021-11-24 06:22:31:536 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:22:31:536 [HTTP] {"seconds":0} 2021-11-24 06:22:31:537 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:31:537 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:31:866 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:22:31:866 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:22:33:013 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:33:588 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:22:33:589 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2052 ms - 14 2021-11-24 06:22:33:589 [HTTP] 2021-11-24 06:22:33:904 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:33:904 [HTTP] {} 2021-11-24 06:22:33:905 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:33:905 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:34:244 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:34:246 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 341 ms - 14 2021-11-24 06:22:34:246 [HTTP] 2021-11-24 06:22:34:535 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:22:34:535 [HTTP] {} 2021-11-24 06:22:34:536 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:34:536 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:22:34:537 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:22:34:538 [HTTP] 2021-11-24 06:22:34:542 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:22:34:542 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:22:34:543 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:34:543 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:22:34:543 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:22:34:546 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:22:34:546 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:22:34:741 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:22:34:741 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:22:34:741 [BaseDriver] Waited for 198 ms so far 2021-11-24 06:22:35:242 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:22:35:242 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:22:35:622 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"8c92da9f-5081-4378-8493-4cbec029893f","element-6066-11e4-a52e-4f735466cecf":"8c92da9f-5081-4378-8493-4cbec029893f"}} 2021-11-24 06:22:35:622 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"8c92da9f-5081-4378-8493-4cbec029893f","ELEMENT":"8c92da9f-5081-4378-8493-4cbec029893f"} 2021-11-24 06:22:35:623 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1080 ms - 137 2021-11-24 06:22:35:623 [HTTP] 2021-11-24 06:22:35:627 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/8c92da9f-5081-4378-8493-4cbec029893f/displayed 2021-11-24 06:22:35:627 [HTTP] {} 2021-11-24 06:22:35:628 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["8c92da9f-5081-4378-8493-4cbec029893f","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:35:629 [WD Proxy] Matched '/element/8c92da9f-5081-4378-8493-4cbec029893f/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:22:35:629 [WD Proxy] Proxying [GET /element/8c92da9f-5081-4378-8493-4cbec029893f/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/8c92da9f-5081-4378-8493-4cbec029893f/attribute/displayed] with no body 2021-11-24 06:22:36:109 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:22:36:110 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:22:36:111 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/8c92da9f-5081-4378-8493-4cbec029893f/displayed 200 483 ms - 14 2021-11-24 06:22:36:111 [HTTP] 2021-11-24 06:22:36:116 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:22:36:116 [HTTP] {"keycode":4} 2021-11-24 06:22:36:116 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:36:120 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:22:36:120 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:22:36:530 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:36:530 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:22:36:531 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 414 ms - 14 2021-11-24 06:22:36:531 [HTTP] 2021-11-24 06:22:36:535 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:22:36:535 [HTTP] {} 2021-11-24 06:22:36:535 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:36:535 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:36:536 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:36:803 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 23210' 2021-11-24 06:22:36:962 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:36:962 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:37:732 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:37:733 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:38:094 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/5cd67a85.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-1hvemes.a1bik\5cd67a85.mp4' 2021-11-24 06:22:47:435 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/5cd67a85.mp4' 2021-11-24 06:22:47:866 [AndroidDriver] The size of the resulting screen recording is 2.19 MB 2021-11-24 06:22:47:904 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMam1vb3YAAABsbXZoZAAAAADdw4qt3cOKrQAAJxAAAc0rAAEAAAEAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAB2bWV0YQAAACFoZGxyAAAAAAAAAABtZHRhAAAAAAAAAAAAAAAAAAAAACtrZXlzAAAAAAAAAAEAAAAbbWR0YWNvbS5hbmRyb2lkLnZlcnNpb24AAAAiaWxzdAAAABoAAAABAAAAEmRhdGEAAAABAAAAADExAAAJ2nRyYWsAAABcdGtoZAAAAAfdw4qt3cOKrQAAAAEAAAAAAAHNKwAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAEAAAAAB4AAAAyAAAAAACXZtZGlhAAAAIG1kaGQAAAAA3cOKrd3Diq0AAV+QABA2hgAAAAAAAAAsaGRscgAAAAAAAAAAdmlkZQAAAAAAAAAAAAAAAFZpZGVvSGFuZGxlAAAACSJtaW5mAAAAFHZtaGQAAAABAAAAAAAAAAAAAAAkZGluZgAAABxkcmVmAAAAAAAAAAEAAAAMdXJsIAAAAAEAAAjic3RibAAAALJzdHNkAAAAAAAAAAEAAACiYXZjMQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAHgAyAASAAAAEgAAAAAAAAAAQAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgABj//wAAAClhdmNDAWQAIP/hABFnZAAgrLQPAy0pBQYGBtChNQEABWjuBuLAAAAAEHBhc3AAAQAAAAEAAAAAABNjb2xybmNseAAFAAEABgAAAAT4c3R0cwAAAAAAAACdAAAAAQACbsMAAAABAAAIIgAAAAEAAAYTAAAAAQAACz4AAAABAAALEAAAAAEAAAapAAAAAQAADUsA... 2021-11-24 06:22:47:923 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 11384 ms - 3060020 2021-11-24 06:22:47:923 [HTTP] 2021-11-24 06:22:48:039 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:22:48:039 [HTTP] {} 2021-11-24 06:22:48:039 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:48:040 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:48:040 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:48:333 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:22:48:334 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:22:48:334 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:22:48:673 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/d9dc9e92.mp4 2021-11-24 06:22:48:690 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/d9dc9e92.mp4' ] && echo __PASS__"' 2021-11-24 06:22:49:144 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/d9dc9e92.mp4' ] && echo __PASS__"' 2021-11-24 06:22:49:300 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:22:49:302 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1261 ms - 12 2021-11-24 06:22:49:302 [HTTP] 2021-11-24 06:22:49:692 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:22:49:692 [HTTP] {"implicit":6000} 2021-11-24 06:22:49:692 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:49:693 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:22:49:693 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:22:49:693 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:22:49:695 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 2 ms - 14 2021-11-24 06:22:49:695 [HTTP] 2021-11-24 06:22:49:699 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:49:699 [HTTP] {} 2021-11-24 06:22:49:700 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:49:700 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:50:087 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:50:089 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 389 ms - 14 2021-11-24 06:22:50:090 [HTTP] 2021-11-24 06:22:50:094 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:50:094 [HTTP] {} 2021-11-24 06:22:50:094 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:50:095 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:50:463 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:50:465 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 370 ms - 14 2021-11-24 06:22:50:465 [HTTP] 2021-11-24 06:22:50:469 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:22:50:470 [HTTP] {"keycode":3} 2021-11-24 06:22:50:470 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:50:476 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:22:50:476 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:22:50:610 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:50:611 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:22:50:612 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 142 ms - 14 2021-11-24 06:22:50:612 [HTTP] 2021-11-24 06:22:50:615 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:22:50:615 [HTTP] {} 2021-11-24 06:22:50:616 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:50:616 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:22:50:616 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:22:50:670 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:22:50:670 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:22:50:671 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 55 ms - 48 2021-11-24 06:22:50:672 [HTTP] 2021-11-24 06:22:50:676 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:22:50:676 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:22:50:676 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:50:677 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:22:50:677 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:22:52:700 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:52:701 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:22:52:702 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2025 ms - 14 2021-11-24 06:22:52:703 [HTTP] 2021-11-24 06:22:52:707 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:22:52:708 [HTTP] {"keycode":3} 2021-11-24 06:22:52:708 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:52:710 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:22:52:710 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:22:55:107 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:22:55:108 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:22:55:109 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2401 ms - 14 2021-11-24 06:22:55:109 [HTTP] 2021-11-24 06:22:55:378 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:22:55:378 [HTTP] {"seconds":0} 2021-11-24 06:22:55:379 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:55:379 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:55:770 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:22:55:770 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:22:56:955 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:57:528 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:22:57:529 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2150 ms - 14 2021-11-24 06:22:57:529 [HTTP] 2021-11-24 06:22:58:069 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:22:58:070 [HTTP] {} 2021-11-24 06:22:58:070 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:58:070 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:22:58:388 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:22:58:390 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 319 ms - 14 2021-11-24 06:22:58:390 [HTTP] 2021-11-24 06:22:58:712 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:22:58:712 [HTTP] {} 2021-11-24 06:22:58:712 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:58:713 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:22:58:714 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:22:58:715 [HTTP] 2021-11-24 06:22:58:719 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:22:58:719 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:22:58:719 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:22:58:719 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:22:58:719 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:22:58:720 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:22:58:720 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:22:58:909 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:22:58:909 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:22:58:909 [BaseDriver] Waited for 190 ms so far 2021-11-24 06:22:59:411 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:22:59:411 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:22:59:824 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:22:59:824 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:22:59:824 [BaseDriver] Waited for 1105 ms so far 2021-11-24 06:23:00:325 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:23:00:326 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:23:01:044 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"94d82201-de9d-4d4f-bf57-495132e2c688","element-6066-11e4-a52e-4f735466cecf":"94d82201-de9d-4d4f-bf57-495132e2c688"}} 2021-11-24 06:23:01:044 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"94d82201-de9d-4d4f-bf57-495132e2c688","ELEMENT":"94d82201-de9d-4d4f-bf57-495132e2c688"} 2021-11-24 06:23:01:046 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 2326 ms - 137 2021-11-24 06:23:01:046 [HTTP] 2021-11-24 06:23:01:049 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/94d82201-de9d-4d4f-bf57-495132e2c688/displayed 2021-11-24 06:23:01:049 [HTTP] {} 2021-11-24 06:23:01:049 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["94d82201-de9d-4d4f-bf57-495132e2c688","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:01:050 [WD Proxy] Matched '/element/94d82201-de9d-4d4f-bf57-495132e2c688/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:23:01:050 [WD Proxy] Proxying [GET /element/94d82201-de9d-4d4f-bf57-495132e2c688/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/94d82201-de9d-4d4f-bf57-495132e2c688/attribute/displayed] with no body 2021-11-24 06:23:01:114 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:23:01:114 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:23:01:115 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/94d82201-de9d-4d4f-bf57-495132e2c688/displayed 200 66 ms - 14 2021-11-24 06:23:01:115 [HTTP] 2021-11-24 06:23:01:120 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:23:01:120 [HTTP] {"keycode":4} 2021-11-24 06:23:01:121 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:01:121 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:23:01:121 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:23:01:252 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:01:252 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:23:01:255 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 132 ms - 14 2021-11-24 06:23:01:255 [HTTP] 2021-11-24 06:23:01:259 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:23:01:260 [HTTP] {} 2021-11-24 06:23:01:260 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:01:260 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:01:260 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:01:565 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 23332' 2021-11-24 06:23:01:674 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:01:674 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:02:445 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:02:445 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:03:196 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:03:196 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:03:974 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:03:974 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:04:247 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/d9dc9e92.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-fao0l8.s774r\d9dc9e92.mp4' 2021-11-24 06:23:16:476 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/d9dc9e92.mp4' 2021-11-24 06:23:16:703 [AndroidDriver] The size of the resulting screen recording is 2.65 MB 2021-11-24 06:23:16:750 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:23:16:774 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 15511 ms - 3705924 2021-11-24 06:23:16:774 [HTTP] 2021-11-24 06:23:16:930 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:23:16:930 [HTTP] {} 2021-11-24 06:23:16:931 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:16:931 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:16:931 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:17:253 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:23:17:254 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:17:254 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:17:590 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/1dce6140.mp4 2021-11-24 06:23:17:607 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/1dce6140.mp4' ] && echo __PASS__"' 2021-11-24 06:23:18:083 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/1dce6140.mp4' ] && echo __PASS__"' 2021-11-24 06:23:18:235 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:23:18:237 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1305 ms - 12 2021-11-24 06:23:18:237 [HTTP] 2021-11-24 06:23:18:609 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:23:18:609 [HTTP] {"implicit":6000} 2021-11-24 06:23:18:609 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:18:610 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:23:18:610 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:23:18:610 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:23:18:611 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 1 ms - 14 2021-11-24 06:23:18:611 [HTTP] 2021-11-24 06:23:18:614 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:23:18:614 [HTTP] {} 2021-11-24 06:23:18:615 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:18:615 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:19:002 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:23:19:004 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 388 ms - 14 2021-11-24 06:23:19:004 [HTTP] 2021-11-24 06:23:19:007 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:23:19:007 [HTTP] {} 2021-11-24 06:23:19:007 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:19:008 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:19:372 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:23:19:373 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 366 ms - 14 2021-11-24 06:23:19:374 [HTTP] 2021-11-24 06:23:19:377 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:23:19:377 [HTTP] {"keycode":3} 2021-11-24 06:23:19:377 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:19:383 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:23:19:383 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:23:19:507 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:19:507 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:23:19:509 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 130 ms - 14 2021-11-24 06:23:19:509 [HTTP] 2021-11-24 06:23:19:511 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:23:19:511 [HTTP] {} 2021-11-24 06:23:19:512 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:19:512 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:23:19:512 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:23:19:559 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:23:19:559 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:23:19:560 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 48 ms - 48 2021-11-24 06:23:19:561 [HTTP] 2021-11-24 06:23:19:565 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:23:19:565 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:23:19:565 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:19:566 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:23:19:566 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:23:21:581 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:21:581 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:23:21:583 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2017 ms - 14 2021-11-24 06:23:21:583 [HTTP] 2021-11-24 06:23:21:586 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:23:21:587 [HTTP] {"keycode":3} 2021-11-24 06:23:21:587 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:21:588 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:23:21:588 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:23:23:931 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:23:931 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:23:23:933 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2346 ms - 14 2021-11-24 06:23:23:933 [HTTP] 2021-11-24 06:23:24:189 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:23:24:189 [HTTP] {"seconds":0} 2021-11-24 06:23:24:190 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:24:190 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:24:540 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:23:24:540 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:23:25:695 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:26:226 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:23:26:227 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2037 ms - 14 2021-11-24 06:23:26:228 [HTTP] 2021-11-24 06:23:26:579 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:23:26:579 [HTTP] {} 2021-11-24 06:23:26:579 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:26:580 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:26:900 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:23:26:902 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 322 ms - 14 2021-11-24 06:23:26:902 [HTTP] 2021-11-24 06:23:27:207 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:23:27:208 [HTTP] {} 2021-11-24 06:23:27:208 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:27:208 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:23:27:210 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:23:27:210 [HTTP] 2021-11-24 06:23:27:213 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:23:27:213 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:23:27:214 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:27:214 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:23:27:214 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:23:27:216 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:23:27:217 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:23:27:391 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:23:27:392 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:23:27:392 [BaseDriver] Waited for 178 ms so far 2021-11-24 06:23:27:892 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:23:27:892 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:23:28:262 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"276c1d84-4080-4587-a394-98010c161723","element-6066-11e4-a52e-4f735466cecf":"276c1d84-4080-4587-a394-98010c161723"}} 2021-11-24 06:23:28:263 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"276c1d84-4080-4587-a394-98010c161723","ELEMENT":"276c1d84-4080-4587-a394-98010c161723"} 2021-11-24 06:23:28:264 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1050 ms - 137 2021-11-24 06:23:28:264 [HTTP] 2021-11-24 06:23:28:267 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/276c1d84-4080-4587-a394-98010c161723/displayed 2021-11-24 06:23:28:267 [HTTP] {} 2021-11-24 06:23:28:268 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["276c1d84-4080-4587-a394-98010c161723","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:28:269 [WD Proxy] Matched '/element/276c1d84-4080-4587-a394-98010c161723/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:23:28:269 [WD Proxy] Proxying [GET /element/276c1d84-4080-4587-a394-98010c161723/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/276c1d84-4080-4587-a394-98010c161723/attribute/displayed] with no body 2021-11-24 06:23:28:890 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:23:28:891 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:23:28:892 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/276c1d84-4080-4587-a394-98010c161723/displayed 200 624 ms - 14 2021-11-24 06:23:28:893 [HTTP] 2021-11-24 06:23:28:897 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:23:28:897 [HTTP] {"keycode":4} 2021-11-24 06:23:28:897 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:28:901 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:23:28:902 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:23:28:970 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:28:971 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:23:28:973 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 74 ms - 14 2021-11-24 06:23:28:973 [HTTP] 2021-11-24 06:23:28:980 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:23:28:980 [HTTP] {} 2021-11-24 06:23:28:980 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:28:980 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:28:981 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:29:364 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 23465' 2021-11-24 06:23:29:496 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:29:496 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:30:274 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:30:274 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:30:564 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/1dce6140.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-a0hehv.8llwk\1dce6140.mp4' 2021-11-24 06:23:41:566 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/1dce6140.mp4' 2021-11-24 06:23:41:814 [AndroidDriver] The size of the resulting screen recording is 2.33 MB 2021-11-24 06:23:41:855 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:23:41:876 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 12892 ms - 3261376 2021-11-24 06:23:41:876 [HTTP] 2021-11-24 06:23:42:005 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:23:42:005 [HTTP] {} 2021-11-24 06:23:42:005 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:42:005 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:42:006 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:42:304 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:23:42:305 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:42:305 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:42:592 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/9fc38adb.mp4 2021-11-24 06:23:42:608 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/9fc38adb.mp4' ] && echo __PASS__"' 2021-11-24 06:23:43:065 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/9fc38adb.mp4' ] && echo __PASS__"' 2021-11-24 06:23:43:205 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:23:43:206 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1200 ms - 12 2021-11-24 06:23:43:206 [HTTP] 2021-11-24 06:23:43:534 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:23:43:534 [HTTP] {"implicit":6000} 2021-11-24 06:23:43:535 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:43:535 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:23:43:535 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:23:43:535 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:23:43:537 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 1 ms - 14 2021-11-24 06:23:43:537 [HTTP] 2021-11-24 06:23:43:540 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:23:43:541 [HTTP] {} 2021-11-24 06:23:43:541 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:43:541 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:43:927 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:23:43:929 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 387 ms - 14 2021-11-24 06:23:43:929 [HTTP] 2021-11-24 06:23:43:932 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:23:43:932 [HTTP] {} 2021-11-24 06:23:43:933 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:43:933 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:44:287 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:23:44:289 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 355 ms - 14 2021-11-24 06:23:44:289 [HTTP] 2021-11-24 06:23:44:293 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:23:44:294 [HTTP] {"keycode":3} 2021-11-24 06:23:44:294 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:44:299 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:23:44:299 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:23:44:442 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:44:442 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:23:44:444 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 149 ms - 14 2021-11-24 06:23:44:446 [HTTP] 2021-11-24 06:23:44:447 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:23:44:447 [HTTP] {} 2021-11-24 06:23:44:448 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:44:448 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:23:44:449 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:23:44:501 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:23:44:501 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:23:44:503 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 54 ms - 48 2021-11-24 06:23:44:503 [HTTP] 2021-11-24 06:23:44:507 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:23:44:507 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:23:44:508 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:44:508 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:23:44:508 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:23:46:601 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:46:601 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:23:46:602 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2094 ms - 14 2021-11-24 06:23:46:602 [HTTP] 2021-11-24 06:23:46:606 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:23:46:606 [HTTP] {"keycode":3} 2021-11-24 06:23:46:606 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:46:607 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:23:46:607 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:23:49:031 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:49:031 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:23:49:033 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2426 ms - 14 2021-11-24 06:23:49:033 [HTTP] 2021-11-24 06:23:49:296 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:23:49:296 [HTTP] {"seconds":0} 2021-11-24 06:23:49:296 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:49:297 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:49:655 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:23:49:656 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:23:50:914 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:51:415 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:23:51:417 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2120 ms - 14 2021-11-24 06:23:51:417 [HTTP] 2021-11-24 06:23:51:748 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:23:51:748 [HTTP] {} 2021-11-24 06:23:51:748 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:51:749 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:23:52:096 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:23:52:098 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 348 ms - 14 2021-11-24 06:23:52:098 [HTTP] 2021-11-24 06:23:52:441 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:23:52:441 [HTTP] {} 2021-11-24 06:23:52:441 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:52:442 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:23:52:443 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:23:52:443 [HTTP] 2021-11-24 06:23:52:447 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:23:52:448 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:23:52:448 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:52:448 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:23:52:448 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:23:52:450 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:23:52:451 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:23:52:688 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:23:52:689 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:23:52:689 [BaseDriver] Waited for 241 ms so far 2021-11-24 06:23:53:191 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:23:53:191 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:23:53:511 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"4700ffb7-c055-462c-bbc4-3a5401b32ba0","element-6066-11e4-a52e-4f735466cecf":"4700ffb7-c055-462c-bbc4-3a5401b32ba0"}} 2021-11-24 06:23:53:512 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"4700ffb7-c055-462c-bbc4-3a5401b32ba0","ELEMENT":"4700ffb7-c055-462c-bbc4-3a5401b32ba0"} 2021-11-24 06:23:53:513 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1064 ms - 137 2021-11-24 06:23:53:514 [HTTP] 2021-11-24 06:23:53:516 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/4700ffb7-c055-462c-bbc4-3a5401b32ba0/displayed 2021-11-24 06:23:53:516 [HTTP] {} 2021-11-24 06:23:53:516 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["4700ffb7-c055-462c-bbc4-3a5401b32ba0","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:53:518 [WD Proxy] Matched '/element/4700ffb7-c055-462c-bbc4-3a5401b32ba0/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:23:53:518 [WD Proxy] Proxying [GET /element/4700ffb7-c055-462c-bbc4-3a5401b32ba0/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/4700ffb7-c055-462c-bbc4-3a5401b32ba0/attribute/displayed] with no body 2021-11-24 06:23:54:064 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:23:54:065 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:23:54:066 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/4700ffb7-c055-462c-bbc4-3a5401b32ba0/displayed 200 549 ms - 14 2021-11-24 06:23:54:066 [HTTP] 2021-11-24 06:23:54:071 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:23:54:072 [HTTP] {"keycode":4} 2021-11-24 06:23:54:072 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:54:075 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:23:54:075 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:23:54:132 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:23:54:132 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:23:54:134 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 61 ms - 14 2021-11-24 06:23:54:134 [HTTP] 2021-11-24 06:23:54:139 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:23:54:139 [HTTP] {} 2021-11-24 06:23:54:139 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:23:54:141 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:54:141 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:54:505 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 23592' 2021-11-24 06:23:54:636 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:54:636 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:55:411 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:23:55:412 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:23:55:698 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/9fc38adb.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-1h65owq.6qtok\9fc38adb.mp4' 2021-11-24 06:24:08:349 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/9fc38adb.mp4' 2021-11-24 06:24:08:584 [AndroidDriver] The size of the resulting screen recording is 2.68 MB 2021-11-24 06:24:08:636 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:24:08:657 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 14514 ms - 3749852 2021-11-24 06:24:08:657 [HTTP] 2021-11-24 06:24:08:800 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:24:08:800 [HTTP] {} 2021-11-24 06:24:08:801 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:08:801 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:08:801 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:09:155 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:24:09:156 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:09:156 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:09:487 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/98820c8b.mp4 2021-11-24 06:24:09:505 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/98820c8b.mp4' ] && echo __PASS__"' 2021-11-24 06:24:09:977 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/98820c8b.mp4' ] && echo __PASS__"' 2021-11-24 06:24:10:108 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:24:10:111 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1308 ms - 12 2021-11-24 06:24:10:111 [HTTP] 2021-11-24 06:24:10:487 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:24:10:487 [HTTP] {"implicit":6000} 2021-11-24 06:24:10:487 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:10:487 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:24:10:488 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:24:10:488 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:24:10:489 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 1 ms - 14 2021-11-24 06:24:10:489 [HTTP] 2021-11-24 06:24:10:492 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:24:10:492 [HTTP] {} 2021-11-24 06:24:10:492 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:10:493 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:10:885 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:24:10:887 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 393 ms - 14 2021-11-24 06:24:10:887 [HTTP] 2021-11-24 06:24:10:890 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:24:10:890 [HTTP] {} 2021-11-24 06:24:10:891 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:10:891 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:11:236 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:24:11:238 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 346 ms - 14 2021-11-24 06:24:11:238 [HTTP] 2021-11-24 06:24:11:243 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:24:11:244 [HTTP] {"keycode":3} 2021-11-24 06:24:11:244 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:11:249 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:24:11:250 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:24:11:732 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:11:732 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:24:11:734 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 489 ms - 14 2021-11-24 06:24:11:734 [HTTP] 2021-11-24 06:24:11:738 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:24:11:738 [HTTP] {} 2021-11-24 06:24:11:739 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:11:739 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:24:11:740 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:24:11:791 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:24:11:792 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:24:11:793 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 54 ms - 48 2021-11-24 06:24:11:793 [HTTP] 2021-11-24 06:24:11:798 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:24:11:798 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:24:11:799 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:11:799 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:24:11:800 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:24:13:802 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:13:802 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:24:13:803 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 2004 ms - 14 2021-11-24 06:24:13:803 [HTTP] 2021-11-24 06:24:13:809 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:24:13:809 [HTTP] {"keycode":3} 2021-11-24 06:24:13:810 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:13:811 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:24:13:811 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:24:16:192 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:16:192 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:24:16:194 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2383 ms - 14 2021-11-24 06:24:16:194 [HTTP] 2021-11-24 06:24:16:469 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:24:16:469 [HTTP] {"seconds":0} 2021-11-24 06:24:16:469 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:16:470 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:16:867 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:24:16:867 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:24:18:094 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:18:629 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:24:18:631 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 2160 ms - 14 2021-11-24 06:24:18:631 [HTTP] 2021-11-24 06:24:18:947 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:24:18:947 [HTTP] {} 2021-11-24 06:24:18:947 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:18:948 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:19:278 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:24:19:280 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 331 ms - 14 2021-11-24 06:24:19:280 [HTTP] 2021-11-24 06:24:19:627 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:24:19:627 [HTTP] {} 2021-11-24 06:24:19:627 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:19:628 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:24:19:629 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:24:19:630 [HTTP] 2021-11-24 06:24:19:634 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:24:19:634 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:24:19:634 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:19:634 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:24:19:635 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:24:19:635 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:24:19:635 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:24:19:805 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:24:19:805 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:24:19:806 [BaseDriver] Waited for 170 ms so far 2021-11-24 06:24:20:307 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:24:20:307 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:24:20:771 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"9467084f-2baa-47d6-9517-6c088a7805a1","element-6066-11e4-a52e-4f735466cecf":"9467084f-2baa-47d6-9517-6c088a7805a1"}} 2021-11-24 06:24:20:771 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"9467084f-2baa-47d6-9517-6c088a7805a1","ELEMENT":"9467084f-2baa-47d6-9517-6c088a7805a1"} 2021-11-24 06:24:20:773 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1138 ms - 137 2021-11-24 06:24:20:773 [HTTP] 2021-11-24 06:24:20:776 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/9467084f-2baa-47d6-9517-6c088a7805a1/displayed 2021-11-24 06:24:20:776 [HTTP] {} 2021-11-24 06:24:20:776 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["9467084f-2baa-47d6-9517-6c088a7805a1","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:20:777 [WD Proxy] Matched '/element/9467084f-2baa-47d6-9517-6c088a7805a1/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:24:20:777 [WD Proxy] Proxying [GET /element/9467084f-2baa-47d6-9517-6c088a7805a1/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/9467084f-2baa-47d6-9517-6c088a7805a1/attribute/displayed] with no body 2021-11-24 06:24:21:271 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:24:21:272 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:24:21:273 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/9467084f-2baa-47d6-9517-6c088a7805a1/displayed 200 497 ms - 14 2021-11-24 06:24:21:273 [HTTP] 2021-11-24 06:24:21:278 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:24:21:278 [HTTP] {"keycode":4} 2021-11-24 06:24:21:278 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:21:279 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:24:21:279 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:24:21:682 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:21:682 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:24:21:683 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 405 ms - 14 2021-11-24 06:24:21:683 [HTTP] 2021-11-24 06:24:21:688 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:24:21:689 [HTTP] {} 2021-11-24 06:24:21:689 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:21:689 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:21:689 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:22:015 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 23721' 2021-11-24 06:24:22:165 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:22:165 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:22:956 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:22:956 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:23:228 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/98820c8b.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-ozaglg.dnvhe\98820c8b.mp4' 2021-11-24 06:24:35:988 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/98820c8b.mp4' 2021-11-24 06:24:36:206 [AndroidDriver] The size of the resulting screen recording is 2.83 MB 2021-11-24 06:24:36:257 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:24:36:281 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 14588 ms - 3953312 2021-11-24 06:24:36:281 [HTTP] 2021-11-24 06:24:36:441 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 2021-11-24 06:24:36:441 [HTTP] {} 2021-11-24 06:24:36:441 [W3C (3fdfe242)] Calling AppiumDriver.startRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:36:441 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:36:442 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:36:763 [AndroidDriver] Screen recording has not been previously started by Appium. There is nothing to stop 2021-11-24 06:24:36:763 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:36:763 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:37:035 [ADB] Building screenrecord process with the command line: adb -P 5037 -s 199.0.0.4\:5500 shell screenrecord --time-limit 180 /sdcard/dffeef08.mp4 2021-11-24 06:24:37:050 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/dffeef08.mp4' ] && echo __PASS__"' 2021-11-24 06:24:37:487 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell "[ -e '/sdcard/dffeef08.mp4' ] && echo __PASS__"' 2021-11-24 06:24:37:627 [W3C (3fdfe242)] Responding to client with driver.startRecordingScreen() result: "" 2021-11-24 06:24:37:628 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/start_recording_screen 200 1187 ms - 12 2021-11-24 06:24:37:628 [HTTP] 2021-11-24 06:24:37:930 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 2021-11-24 06:24:37:930 [HTTP] {"implicit":6000} 2021-11-24 06:24:37:930 [W3C (3fdfe242)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,6000,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:37:931 [BaseDriver] W3C timeout argument: {"implicit":6000}} 2021-11-24 06:24:37:931 [BaseDriver] Set implicit wait to 6000ms 2021-11-24 06:24:37:931 [W3C (3fdfe242)] Responding to client with driver.timeouts() result: null 2021-11-24 06:24:37:932 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/timeouts 200 1 ms - 14 2021-11-24 06:24:37:932 [HTTP] 2021-11-24 06:24:37:936 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:24:37:936 [HTTP] {} 2021-11-24 06:24:37:936 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:37:936 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:38:317 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:24:38:319 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 382 ms - 14 2021-11-24 06:24:38:319 [HTTP] 2021-11-24 06:24:38:323 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:24:38:323 [HTTP] {} 2021-11-24 06:24:38:323 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:38:323 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:38:680 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:24:38:681 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 357 ms - 14 2021-11-24 06:24:38:681 [HTTP] 2021-11-24 06:24:38:686 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:24:38:686 [HTTP] {"keycode":3} 2021-11-24 06:24:38:686 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:38:692 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:24:38:692 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:24:38:751 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:38:751 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:24:38:752 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 65 ms - 14 2021-11-24 06:24:38:752 [HTTP] 2021-11-24 06:24:38:754 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 2021-11-24 06:24:38:754 [HTTP] {} 2021-11-24 06:24:38:755 [W3C (3fdfe242)] Calling AppiumDriver.getWindowRect() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:38:755 [WD Proxy] Matched '/window/current/size' to command name 'getWindowSize' 2021-11-24 06:24:38:756 [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/window/current/size] with no body 2021-11-24 06:24:38:789 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"height":734,"width":480}} 2021-11-24 06:24:38:789 [W3C (3fdfe242)] Responding to client with driver.getWindowRect() result: {"width":480,"height":734,"x":0,"y":0} 2021-11-24 06:24:38:791 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/window/rect 200 35 ms - 48 2021-11-24 06:24:38:791 [HTTP] 2021-11-24 06:24:38:795 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 2021-11-24 06:24:38:795 [HTTP] {"actions":[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}]} 2021-11-24 06:24:38:795 [W3C (3fdfe242)] Calling AppiumDriver.performTouch() with args: [[{"action":"press","options":{"x":240,"y":660}},{"action":"wait","options":{"ms":2000}},{"action":"moveTo","options":{"x":240,"y":146}},{"action":"release","options":{}}],"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:38:796 [WD Proxy] Matched '/touch/perform' to command name 'performTouch' 2021-11-24 06:24:38:796 [WD Proxy] Proxying [POST /touch/perform] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/touch/perform] with body: {"startX":240,"startY":660,"endX":240,"endY":146,"steps":56} 2021-11-24 06:24:40:706 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:40:707 [W3C (3fdfe242)] Responding to client with driver.performTouch() result: null 2021-11-24 06:24:40:708 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/touch/perform 200 1912 ms - 14 2021-11-24 06:24:40:708 [HTTP] 2021-11-24 06:24:40:713 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 2021-11-24 06:24:40:713 [HTTP] {"keycode":3} 2021-11-24 06:24:40:714 [W3C (3fdfe242)] Calling AppiumDriver.longPressKeyCode() with args: [3,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:40:715 [WD Proxy] Matched '/appium/device/long_press_keycode' to command name 'longPressKeyCode' 2021-11-24 06:24:40:715 [WD Proxy] Proxying [POST /appium/device/long_press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/long_press_keycode] with body: {"keycode":3,"metastate":null,"flags":null} 2021-11-24 06:24:43:111 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:43:111 [W3C (3fdfe242)] Responding to client with driver.longPressKeyCode() result: null 2021-11-24 06:24:43:113 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/long_press_keycode 200 2398 ms - 14 2021-11-24 06:24:43:113 [HTTP] 2021-11-24 06:24:43:402 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 2021-11-24 06:24:43:402 [HTTP] {"seconds":0} 2021-11-24 06:24:43:403 [W3C (3fdfe242)] Calling AppiumDriver.lock() with args: [0,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:43:403 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:43:789 [ADB] Pressing the KEYCODE_POWER button to lock screen 2021-11-24 06:24:43:789 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell input keyevent 26' 2021-11-24 06:24:45:027 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:46:070 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:46:440 [W3C (3fdfe242)] Responding to client with driver.lock() result: null 2021-11-24 06:24:46:442 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/lock 200 3038 ms - 14 2021-11-24 06:24:46:442 [HTTP] 2021-11-24 06:24:46:790 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 2021-11-24 06:24:46:790 [HTTP] {} 2021-11-24 06:24:46:791 [W3C (3fdfe242)] Calling AppiumDriver.isLocked() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:46:791 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell dumpsys window' 2021-11-24 06:24:47:207 [W3C (3fdfe242)] Responding to client with driver.isLocked() result: true 2021-11-24 06:24:47:209 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/is_locked 200 418 ms - 14 2021-11-24 06:24:47:209 [HTTP] 2021-11-24 06:24:47:559 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 2021-11-24 06:24:47:559 [HTTP] {} 2021-11-24 06:24:47:559 [W3C (3fdfe242)] Calling AppiumDriver.getCurrentContext() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:47:560 [W3C (3fdfe242)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" 2021-11-24 06:24:47:561 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/context 200 1 ms - 22 2021-11-24 06:24:47:561 [HTTP] 2021-11-24 06:24:47:564 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 2021-11-24 06:24:47:564 [HTTP] {"using":"xpath","value":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']"} 2021-11-24 06:24:47:565 [W3C (3fdfe242)] Calling AppiumDriver.findElement() with args: ["xpath","//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:47:565 [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator 2021-11-24 06:24:47:565 [BaseDriver] Waiting up to 6000 ms for condition 2021-11-24 06:24:47:567 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:24:47:568 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:24:47:725 [WD Proxy] Got response with status 404: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... 2021-11-24 06:24:47:725 [W3C] Matched W3C error code 'no such element' to NoSuchElementError 2021-11-24 06:24:47:726 [BaseDriver] Waited for 161 ms so far 2021-11-24 06:24:48:227 [WD Proxy] Matched '/element' to command name 'findElement' 2021-11-24 06:24:48:227 [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element] with body: {"strategy":"xpath","selector":"//android.widget.TextView[contains(@resource-id, 'com.motorolasolutions.ptt:id/tv_primary') and @text='Radio Check']","context":"","multiple":false} 2021-11-24 06:24:48:625 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":{"ELEMENT":"db5a0513-53fd-46f8-885c-60f1ddf59ef2","element-6066-11e4-a52e-4f735466cecf":"db5a0513-53fd-46f8-885c-60f1ddf59ef2"}} 2021-11-24 06:24:48:626 [W3C (3fdfe242)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"db5a0513-53fd-46f8-885c-60f1ddf59ef2","ELEMENT":"db5a0513-53fd-46f8-885c-60f1ddf59ef2"} 2021-11-24 06:24:48:627 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element 200 1062 ms - 137 2021-11-24 06:24:48:627 [HTTP] 2021-11-24 06:24:48:630 [HTTP] --> GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/db5a0513-53fd-46f8-885c-60f1ddf59ef2/displayed 2021-11-24 06:24:48:630 [HTTP] {} 2021-11-24 06:24:48:630 [W3C (3fdfe242)] Calling AppiumDriver.elementDisplayed() with args: ["db5a0513-53fd-46f8-885c-60f1ddf59ef2","3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:48:632 [WD Proxy] Matched '/element/db5a0513-53fd-46f8-885c-60f1ddf59ef2/attribute/displayed' to command name 'getAttribute' 2021-11-24 06:24:48:632 [WD Proxy] Proxying [GET /element/db5a0513-53fd-46f8-885c-60f1ddf59ef2/attribute/displayed] to [GET http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/element/db5a0513-53fd-46f8-885c-60f1ddf59ef2/attribute/displayed] with no body 2021-11-24 06:24:49:169 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":"true"} 2021-11-24 06:24:49:170 [W3C (3fdfe242)] Responding to client with driver.elementDisplayed() result: true 2021-11-24 06:24:49:171 [HTTP] <-- GET /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/element/db5a0513-53fd-46f8-885c-60f1ddf59ef2/displayed 200 540 ms - 14 2021-11-24 06:24:49:171 [HTTP] 2021-11-24 06:24:49:176 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 2021-11-24 06:24:49:176 [HTTP] {"keycode":4} 2021-11-24 06:24:49:177 [W3C (3fdfe242)] Calling AppiumDriver.pressKeyCode() with args: [4,null,null,null,null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:49:180 [WD Proxy] Matched '/appium/device/press_keycode' to command name 'pressKeyCode' 2021-11-24 06:24:49:180 [WD Proxy] Proxying [POST /appium/device/press_keycode] to [POST http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0/appium/device/press_keycode] with body: {"keycode":4,"metastate":null,"flags":null} 2021-11-24 06:24:49:609 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:24:49:610 [W3C (3fdfe242)] Responding to client with driver.pressKeyCode() result: null 2021-11-24 06:24:49:612 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/device/press_keycode 200 435 ms - 14 2021-11-24 06:24:49:612 [HTTP] 2021-11-24 06:24:49:618 [HTTP] --> POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 2021-11-24 06:24:49:618 [HTTP] {} 2021-11-24 06:24:49:618 [W3C (3fdfe242)] Calling AppiumDriver.stopRecordingScreen() with args: [null,"3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:24:49:618 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:49:619 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:49:925 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell kill -2 23849' 2021-11-24 06:24:50:081 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:50:081 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:50:879 [ADB] Getting IDs of all 'screenrecord' processes 2021-11-24 06:24:50:880 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell pgrep -f \(\[\[:blank:\]\]\|\^\)screenrecord\(\[\[:blank:\]\]\|\$\)' 2021-11-24 06:24:51:167 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 pull /sdcard/dffeef08.mp4 C:\Users\wxr836\AppData\Local\Temp\20211024-23216-1i3f1vz.ml97\dffeef08.mp4' 2021-11-24 06:25:03:352 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 shell rm -rf /sdcard/dffeef08.mp4' 2021-11-24 06:25:03:789 [AndroidDriver] The size of the resulting screen recording is 2.72 MB 2021-11-24 06:25:03:842 [W3C (3fdfe242)] Responding to client with driver.stopRecordingScreen() result: "AAAAGGZ0eXBtcDQyAAAAAGlzb21tcDQyAAAMeGZyZWUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... 2021-11-24 06:25:03:865 [HTTP] <-- POST /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48/appium/stop_recording_screen 200 14243 ms - 3803604 2021-11-24 06:25:03:866 [HTTP] 2021-11-24 06:25:05:911 [HTTP] --> DELETE /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48 2021-11-24 06:25:05:911 [HTTP] {} 2021-11-24 06:25:05:911 [W3C (3fdfe242)] Calling AppiumDriver.deleteSession() with args: ["3fdfe242-b11a-433d-9d82-92586fba8e48"] 2021-11-24 06:25:05:911 [BaseDriver] Event 'quitSessionRequested' logged at 1637735105911 (14:25:05 GMT+0800 (Malaysia Time)) 2021-11-24 06:25:05:912 [Appium] Removing session 3fdfe242-b11a-433d-9d82-92586fba8e48 from our master session list 2021-11-24 06:25:05:912 [UiAutomator2] Deleting UiAutomator2 session 2021-11-24 06:25:05:913 [UiAutomator2] Deleting UiAutomator2 server session 2021-11-24 06:25:05:913 [WD Proxy] Matched '/' to command name 'deleteSession' 2021-11-24 06:25:05:914 [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:62857/wd/hub/session/c529e487-86fc-4416-b60b-7e24ad86d6b0] with no body 2021-11-24 06:25:05:973 [WD Proxy] Got response with status 200: {"sessionId":"c529e487-86fc-4416-b60b-7e24ad86d6b0","value":null} 2021-11-24 06:25:05:974 [Logcat] Stopping logcat capture 2021-11-24 06:25:05:978 [ADB] Removing forwarded port socket connection: 62857 2021-11-24 06:25:05:978 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4:5500 forward --remove tcp:62857' 2021-11-24 06:25:06:025 [UiAutomator2] Restoring hidden api policy to the device default configuration 2021-11-24 06:25:06:025 [ADB] Running 'C:\Users\wxr836\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s 199.0.0.4\:5500 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy'' 2021-11-24 06:25:06:498 [BaseDriver] Event 'quitSessionFinished' logged at 1637735106497 (14:25:06 GMT+0800 (Malaysia Time)) 2021-11-24 06:25:06:498 [W3C (3fdfe242)] Received response: null 2021-11-24 06:25:06:498 [W3C (3fdfe242)] But deleting session, so not returning 2021-11-24 06:25:06:498 [W3C (3fdfe242)] Responding to client with driver.deleteSession() result: null 2021-11-24 06:25:06:499 [HTTP] <-- DELETE /wd/hub/session/3fdfe242-b11a-433d-9d82-92586fba8e48 200 587 ms - 14 2021-11-24 06:25:06:500 [HTTP] 2021-11-24 06:25:06:507 [HTTP] --> GET /wd/hub/status 2021-11-24 06:25:06:507 [HTTP] {} 2021-11-24 06:25:06:508 [GENERIC] Calling AppiumDriver.getStatus() with args: [] 2021-11-24 06:25:06:508 [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.21.0"}} 2021-11-24 06:25:06:510 [HTTP] <-- GET /wd/hub/status 200 1 ms - 68 2021-11-24 06:25:06:510 [HTTP]