Original error: Could not proxy command to the remote server. Original error: socket hang up

App get closed during tests, need help. check logs below
Note: sometimes it runs smoothly w/o any error.
Dependencies are:
DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(“automationName”, “UiAutomator2”);
//cap.setCapability("–session-override",true);
cap.setCapability(“platformName”, “Android”);
cap.setCapability(“platformVersion”,“10.0”);
cap.setCapability(MobileCapabilityType.DEVICE_NAME, “Emulator 10”);
cap.setCapability(MobileCapabilityType.APP, app.getAbsolutePath());

    cap.setCapability("appPackage", BASE);
    cap.setCapability("appActivity", "io.neets.hercules.MainActivity");
    URL url = new URL("http://127.0.0.1:4723/wd/hub");
    driver = new AndroidDriver<MobileElement>(url, cap);
    driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);

[info] e[35m[HTTP]e[39m Waiting until the server is closed
[info] e[35m[HTTP]e[39m Received server close event
[info] e[35m[Appium]e[39m Welcome to Appium v1.19.1
[info] e[35m[Appium]e[39m Non-default server args:
[info] e[35m[Appium]e[39m relaxedSecurityEnabled: true
[info] e[35m[Appium]e[39m allowInsecure: {
[info] e[35m[Appium]e[39m }
[info] e[35m[Appium]e[39m denyInsecure: {
[info] e[35m[Appium]e[39m }
[info] e[35m[Appium]e[39m Appium REST http interface listener started on 0.0.0.0:4723[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
[info] e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,"–session-override":true,“platformVersion”:“10.0”,“automationName”:“UiAutomator2”,“platformName”:“Android”,“deviceName”:“Emulator 10”},“capabilities”:{“firstMatch”:[{“appium:app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appium:appActivity”:“io.neets.hercules.MainActivity”,“appium:appPackage”:“io.neets.hercules”,“appium:automationName”:“UiAutomator2”,“appium:deviceName”:“Emulator 10”,“platformName”:“android”,“appium:platformVersion”:“10.0”,"–session-override":true}]}}e[39m
[debug] e[35m[W3C]e[39m Calling AppiumDriver.createSession() with args: [{“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,"–session-override":true,“platformVersion”:“10.0”,“automationName”:“UiAutomator2”,“platformName”:“Android”,“deviceName”:“Emulator 10”},null,{“firstMatch”:[{“appium:app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appium:appActivity”:“io.neets.hercules.MainActivity”,“appium:appPackage”:“io.neets.hercules”,“appium:automationName”:“UiAutomator2”,“appium:deviceName”:“Emulator 10”,“platformName”:“android”,“appium:platformVersion”:“10.0”,"–session-override":true}]}]
[debug] e[35m[BaseDriver]e[39m Event ‘newSessionRequested’ logged at 1608416056049 (03:14:16 GMT+0500 (Pakistan Standard Time))
[warn] e[35m[BaseDriver]e[39m The following capabilities are not standard capabilities and should have an extension prefix:
[warn] e[35m[BaseDriver]e[39m –session-override
[info] e[35m[Appium]e[39m Appium v1.19.1 creating new AndroidUiautomator2Driver (v1.59.0) session
[info] e[35m[Appium]e[39m Applying relaxed security to ‘AndroidUiautomator2Driver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] e[35m[BaseDriver]e[39m W3C capabilities and MJSONWP desired capabilities were provided
[debug] e[35m[BaseDriver]e[39m Creating session with W3C capabilities: {
[debug] e[35m[BaseDriver]e[39m “alwaysMatch”: {
[debug] e[35m[BaseDriver]e[39m “platformName”: “android”,
[debug] e[35m[BaseDriver]e[39m “appium:–session-override”: true,
[debug] e[35m[BaseDriver]e[39m “appium:app”: “D:\QAProjects\Hercules2\src\Hercules.apk”,
[debug] e[35m[BaseDriver]e[39m “appium:appActivity”: “io.neets.hercules.MainActivity”,
[debug] e[35m[BaseDriver]e[39m “appium:appPackage”: “io.neets.hercules”,
[debug] e[35m[BaseDriver]e[39m “appium:automationName”: “UiAutomator2”,
[debug] e[35m[BaseDriver]e[39m “appium:deviceName”: “Emulator 10”,
[debug] e[35m[BaseDriver]e[39m “appium:platformVersion”: “10.0”
[debug] e[35m[BaseDriver]e[39m },
[debug] e[35m[BaseDriver]e[39m “firstMatch”: [
[debug] e[35m[BaseDriver]e[39m {}
[debug] e[35m[BaseDriver]e[39m ]
[debug] e[35m[BaseDriver]e[39m }
[warn] e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by Appium:
[warn] e[35m[BaseDriver]e[39m –session-override
[info] e[35m[BaseDriver]e[39m Session created with session id: b2e89b1e-dda8-4783-a6e0-04edfcff7925
[info] e[35m[BaseDriver]e[39m Using local app ‘D:\QAProjects\Hercules2\src\Hercules.apk’
[debug] e[35m[UiAutomator2]e[39m Checking whether app is actually present
[info] e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server’[debug] e[35m[ADB]e[39m Connected devices: [{“udid”:“emulator-5554”,“state”:“device”}]
[info] e[35m[AndroidDriver]e[39m Looking for a device with Android ‘10.0.0’
[debug] e[35m[ADB]e[39m Setting device id to emulator-5554
[info] e[35m[ADB]e[39m Getting device platform version
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release’
[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.release’: 10
[info] e[35m[AndroidDriver]e[39m Using device: emulator-5554
[info] e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server’[debug] e[35m[ADB]e[39m Setting device id to emulator-5554
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk’
[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.sdk’: 29
[info] e[35m[ADB]e[39m Getting device platform version
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release’
[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.release’: 10
[debug] e[35m[ADB]e[39m Device API level: 29
[info] e[35m[UiAutomator2]e[39m Relaxing hidden api policy
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 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’’[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping’[debug] e[35m[AndroidDriver]e[39m Pushing settings apk to device…
[debug] e[35m[ADB]e[39m Getting install status for io.appium.settings
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings’
[debug] e[35m[ADB]e[39m ‘io.appium.settings’ is installed
[debug] e[35m[ADB]e[39m Getting package info for ‘io.appium.settings’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings’[debug] e[35m[ADB]e[39m The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘3.2.1’ >= ‘3.2.1’)
[debug] e[35m[ADB]e[39m There is no need to install/upgrade ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk’
[debug] e[35m[ADB]e[39m Getting IDs of all ‘io.appium.settings’ processes
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ‘pgrep --help; echo $?’’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)’[debug] e[35m[AndroidDriver]e[39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] e[35m[Logcat]e[39m Starting logs capture with command: C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime[debug] e[35m[UiAutomator2]e[39m Forwarding UiAutomator2 Server port 6790 to local port 8202
[debug] e[35m[ADB]e[39m Forwarding system: 8202 to device: 6790
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8202 tcp:6790’
[info] e[35m[UiAutomator2]e[39m Server package at ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.15.0.apk’ is not writeable. Will copy it into the temporary location at ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb’ as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
[info] e[35m[UiAutomator2]e[39m Server package at ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ is not writeable. Will copy it into the temporary location at ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb’ as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server’[debug] e[35m[ADB]e[39m The version name of the installed ‘io.appium.uiautomator2.server’ is greater or equal to the application version name (‘4.15.0’ >= ‘4.15.0’)
[debug] e[35m[UiAutomator2]e[39m io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] e[35m[ADB]e[39m Checking app cert for C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb\appium-uiautomator2-server-v4.15.0.apk
[info] e[35m[ADB]e[39m Using ‘apksigner.jar’ from ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar’
[debug] e[35m[ADB]e[39m Starting apksigner: ‘C:\Program Files\Java\jdk1.8.0_271\bin\java.exe’ -Xmx1024M -Xss1m -jar C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar verify --print-certs C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb\appium-uiautomator2-server-v4.15.0.apk[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m sha256 hash did match for ‘appium-uiautomator2-server-v4.15.0.apk’
[info] e[35m[ADB]e[39m ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb\appium-uiautomator2-server-v4.15.0.apk’ is signed with the default certificate
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server.test
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test’[debug] e[35m[ADB]e[39m ‘io.appium.uiautomator2.server.test’ is installed
[debug] e[35m[ADB]e[39m Checking app cert for C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb\appium-uiautomator2-server-debug-androidTest.apk
[debug] e[35m[ADB]e[39m Starting apksigner: ‘C:\Program Files\Java\jdk1.8.0_271\bin\java.exe’ -Xmx1024M -Xss1m -jar C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar verify --print-certs C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb\appium-uiautomator2-server-debug-androidTest.apk[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m sha256 hash did match for ‘appium-uiautomator2-server-debug-androidTest.apk’
[info] e[35m[ADB]e[39m ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-38vylb.8n7hb\appium-uiautomator2-server-debug-androidTest.apk’ is signed with the default certificate
[info] e[35m[UiAutomator2]e[39m Server packages are not going to be (re)installed
[debug] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for services to be available
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation’[debug] e[35m[UiAutomator2]e[39m Instrumentation target ‘io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner’ is available
[debug] e[35m[ADB]e[39m Checking app cert for D:\QAProjects\Hercules2\src\Hercules.apk
[debug] e[35m[ADB]e[39m Starting apksigner: ‘C:\Program Files\Java\jdk1.8.0_271\bin\java.exe’ -Xmx1024M -Xss1m -jar C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar verify --print-certs D:\QAProjects\Hercules2\src\Hercules.apk[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m sha256 hash did match for ‘Hercules.apk’
[info] e[35m[ADB]e[39m ‘D:\QAProjects\Hercules2\src\Hercules.apk’ is signed with the default certificate
[debug] e[35m[ADB]e[39m Getting install status for io.neets.hercules
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.neets.hercules’
[debug] e[35m[ADB]e[39m ‘io.neets.hercules’ is installed
[debug] e[35m[ADB]e[39m Getting package info for ‘io.neets.hercules’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.neets.hercules’
[debug] e[35m[ADB]e[39m The version name of the installed ‘io.neets.hercules’ is greater or equal to the application version name (‘1.0.0’ >= ‘1.0.0’)
[debug] e[35m[ADB]e[39m There is no need to install/upgrade ‘D:\QAProjects\Hercules2\src\Hercules.apk’
[info] e[35m[AndroidDriver]e[39m Performing fast reset on ‘io.neets.hercules’
[debug] e[35m[ADB]e[39m Getting install status for io.neets.hercules
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.neets.hercules’[debug] e[35m[ADB]e[39m ‘io.neets.hercules’ is installed
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.neets.hercules’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear io.neets.hercules’[debug] e[35m[AndroidDriver]e[39m Performed fast reset on the installed ‘io.neets.hercules’ application (stop and clear)
[debug] e[35m[UiAutomator2]e[39m Performing shallow cleanup of automation leftovers
[debug] e[35m[UiAutomator2]e[39m No obsolete sessions have been detected (socket hang up)
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test’[info] e[35m[UiAutomator2]e[39m Starting UIAutomator2 server 4.15.0
[info] e[35m[UiAutomator2]e[39m Using UIAutomator2 server from ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.15.0.apk’ and test from ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’
[info] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for UiAutomator2 to be online…
[debug] e[35m[ADB]e[39m Creating ADB subprocess with args: ["-P",5037,"-s",“emulator-5554”,“shell”,“am”,“instrument”,"-w",“io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner”][debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[Instrumentation]e[39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8202/wd/hub/status] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“None”,“value”:{“message”:“UiAutomator2 Server is ready to accept commands”,“ready”:true}}
[debug] e[35m[UiAutomator2]e[39m The initialization of the instrumentation process took 3202ms
[debug] e[35m[WD Proxy]e[39m Matched ‘/session’ to command name ‘createSession’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /session] to [POST http://127.0.0.1:8202/wd/hub/session] with body: {“capabilities”:{“firstMatch”:[{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10.0”,“deviceUDID”:“emulator-5554”}],“alwaysMatch”:{}}}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:{“capabilities”:{“firstMatch”:[{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10.0”,“deviceUDID”:“emulator-5554”}],“alwaysMatch”:{}},“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”}}
[info] e[35m[WD Proxy]e[39m Determined the downstream protocol as ‘W3C’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8202/wd/hub/session/4e893e64-f819-4cea-9230-0fb710d49c2f/appium/device/info] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:{“androidId”:“b8f91b502b6da446”,“apiVersion”:“29”,“bluetooth”:null,“brand”:“google”,“carrierName”:“Android”,“displayDensity”:160,“locale”:“en_US”,“manufacturer”:“Google”,“model”:“Android SDK built for x86_64”,“networks”:[{“capabilities”:{“SSID”:null,“linkDownBandwidthKbps”:1048576,“linkUpstreamBandwidthKbps”:1048576,“networkCapabilities”:“NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED”,“signalStrength”:-30,“transportTypes”:“TRANSPORT_WIFI”},“detailedState”:“CONNECTED”,“extraInfo”:null,“isAvailable”:true,“isConnected”:true,“isFailover”:false,“isRoaming”:false,“state”:“CONNECTED”,“subtype”:0,“subtypeName”:"",“type”:1,“typeName”:“WIFI”},{“capabilities”:{“SSID”:null,“linkDownBandwidthKbps”:102400,“linkUpstreamBandwidthKbps”:51200,“networkC…
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window’
[info] e[35m[AndroidDriver]e[39m Screen already unlocked, doing nothing
[info] e[35m[UiAutomator2]e[39m Starting 'io.neets.hercules/io.neets.hercules.MainActivity and waiting for ‘io.neets.hercules/io.neets.hercules.MainActivity’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n io.neets.hercules/io.neets.hercules.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000’[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8202/wd/hub/session/4e893e64-f819-4cea-9230-0fb710d49c2f/appium/device/pixel_ratio] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:1}
[debug] e[35m[WD Proxy]e[39m Matched ‘/appium/device/system_bars’ to command name ‘getSystemBars’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8202/wd/hub/session/4e893e64-f819-4cea-9230-0fb710d49c2f/appium/device/system_bars] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:{“statusBar”:24}}
[debug] e[35m[WD Proxy]e[39m Matched ‘/window/current/size’ to command name ‘getWindowSize’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:8202/wd/hub/session/4e893e64-f819-4cea-9230-0fb710d49c2f/window/current/size] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:{“height”:752,“width”:1280}}
[info] e[35m[Appium]e[39m New AndroidUiautomator2Driver session created successfully, session b2e89b1e-dda8-4783-a6e0-04edfcff7925 added to master session list
[debug] e[35m[BaseDriver]e[39m Event ‘newSessionStarted’ logged at 1608416069692 (03:14:29 GMT+0500 (Pakistan Standard Time))
[debug] e[35m[W3C (b2e89b1e)]e[39m Cached the protocol value ‘W3C’ for the new session b2e89b1e-dda8-4783-a6e0-04edfcff7925
[debug] e[35m[W3C (b2e89b1e)]e[39m Responding to client with driver.createSession() result: {“capabilities”:{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,”–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10”,“deviceUDID”:“emulator-5554”,“deviceApiLevel”:29,“deviceScreenSize”:“1280x800”,“deviceScreenDensity”:160,“deviceModel”:“Android SDK built for x86_64”,“deviceManufacturer”:“Google”,“pixelRatio”:1,“statBarHeight”:24,“viewportRect”:{“left”:0,“top”:24,“width”:1280,“he…
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session e[39me[32m200e[39m e[90m13646 ms - 1098e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/b2e89b1e-dda8-4783-a6e0-04edfcff7925e[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (b2e89b1e)]e[39m Calling AppiumDriver.getSession() with args: [“b2e89b1e-dda8-4783-a6e0-04edfcff7925”]
[debug] e[35m[UiAutomator2]e[39m Getting session details from server to mix in
[debug] e[35m[WD Proxy]e[39m Matched ‘/’ to command name ‘getSession’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /] to [GET http://127.0.0.1:8202/wd/hub/session/4e893e64-f819-4cea-9230-0fb710d49c2f] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:{“lastScrollData”:null}}
[debug] e[35m[W3C (b2e89b1e)]e[39m Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,”–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10”,“deviceUDID”:“emulator-5554”,“deviceApiLevel”:29,“deviceScreenSize”:“1280x800”,“deviceScreenDensity”:160,“deviceModel”:“Android SDK built for x86_64”,“deviceManufacturer”:“Google”,“pixelRatio”:1,“statBarHeight”:24,“viewportRect”:{“left”:0,“top”:24,“width”:1280,“height”:728},“last…
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/b2e89b1e-dda8-4783-a6e0-04edfcff7925 e[39me[32m200e[39m e[90m24 ms - 1052e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/b2e89b1e-dda8-4783-a6e0-04edfcff7925e[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (b2e89b1e)]e[39m Calling AppiumDriver.getSession() with args: [“b2e89b1e-dda8-4783-a6e0-04edfcff7925”]
[debug] e[35m[UiAutomator2]e[39m Getting session details from server to mix in
[debug] e[35m[WD Proxy]e[39m Matched ‘/’ to command name ‘getSession’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /] to [GET http://127.0.0.1:8202/wd/hub/session/4e893e64-f819-4cea-9230-0fb710d49c2f] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:{“lastScrollData”:null}}
[debug] e[35m[W3C (b2e89b1e)]e[39m Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,”–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10”,“deviceUDID”:“emulator-5554”,“deviceApiLevel”:29,“deviceScreenSize”:“1280x800”,“deviceScreenDensity”:160,“deviceModel”:“Android SDK built for x86_64”,“deviceManufacturer”:“Google”,“pixelRatio”:1,“statBarHeight”:24,“viewportRect”:{“left”:0,“top”:24,“width”:1280,“height”:728},“last…
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/b2e89b1e-dda8-4783-a6e0-04edfcff7925 e[39me[32m200e[39m e[90m19 ms - 1052e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/b2e89b1e-dda8-4783-a6e0-04edfcff7925/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{“implicit”:30000}e[39m
[debug] e[35m[W3C (b2e89b1e)]e[39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,“b2e89b1e-dda8-4783-a6e0-04edfcff7925”]
[debug] e[35m[BaseDriver]e[39m W3C timeout argument: {“implicit”:30000}}
[debug] e[35m[BaseDriver]e[39m Set implicit wait to 30000ms
[debug] e[35m[W3C (b2e89b1e)]e[39m Responding to client with driver.timeouts() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/b2e89b1e-dda8-4783-a6e0-04edfcff7925/timeouts e[39me[32m200e[39m e[90m4 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/sessione[39m
[info] e[35m[HTTP]e[39m e[90m{“desiredCapabilities”:{“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,”–session-override":true,“platformVersion”:“10.0”,“automationName”:“UiAutomator2”,“platformName”:“Android”,“deviceName”:“Emulator 10”},“capabilities”:{“firstMatch”:[{“appium:app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appium:appActivity”:“io.neets.hercules.MainActivity”,“appium:appPackage”:“io.neets.hercules”,“appium:automationName”:“UiAutomator2”,“appium:deviceName”:“Emulator 10”,“platformName”:“android”,“appium:platformVersion”:“10.0”,"–session-override":true}]}}e[39m
[debug] e[35m[W3C]e[39m Calling AppiumDriver.createSession() with args: [{“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,"–session-override":true,“platformVersion”:“10.0”,“automationName”:“UiAutomator2”,“platformName”:“Android”,“deviceName”:“Emulator 10”},null,{“firstMatch”:[{“appium:app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appium:appActivity”:“io.neets.hercules.MainActivity”,“appium:appPackage”:“io.neets.hercules”,“appium:automationName”:“UiAutomator2”,“appium:deviceName”:“Emulator 10”,“platformName”:“android”,“appium:platformVersion”:“10.0”,"–session-override":true}]}]
[debug] e[35m[BaseDriver]e[39m Event ‘newSessionRequested’ logged at 1608416075025 (03:14:35 GMT+0500 (Pakistan Standard Time))
[warn] e[35m[BaseDriver]e[39m The following capabilities are not standard capabilities and should have an extension prefix:
[warn] e[35m[BaseDriver]e[39m –session-override
[info] e[35m[Appium]e[39m Appium v1.19.1 creating new AndroidUiautomator2Driver (v1.59.0) session
[info] e[35m[Appium]e[39m Applying relaxed security to ‘AndroidUiautomator2Driver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] e[35m[BaseDriver]e[39m W3C capabilities and MJSONWP desired capabilities were provided
[debug] e[35m[BaseDriver]e[39m Creating session with W3C capabilities: {
[debug] e[35m[BaseDriver]e[39m “alwaysMatch”: {
[debug] e[35m[BaseDriver]e[39m “platformName”: “android”,
[debug] e[35m[BaseDriver]e[39m “appium:–session-override”: true,
[debug] e[35m[BaseDriver]e[39m “appium:app”: “D:\QAProjects\Hercules2\src\Hercules.apk”,
[debug] e[35m[BaseDriver]e[39m “appium:appActivity”: “io.neets.hercules.MainActivity”,
[debug] e[35m[BaseDriver]e[39m “appium:appPackage”: “io.neets.hercules”,
[debug] e[35m[BaseDriver]e[39m “appium:automationName”: “UiAutomator2”,
[debug] e[35m[BaseDriver]e[39m “appium:deviceName”: “Emulator 10”,
[debug] e[35m[BaseDriver]e[39m “appium:platformVersion”: “10.0”
[debug] e[35m[BaseDriver]e[39m },
[debug] e[35m[BaseDriver]e[39m “firstMatch”: [
[debug] e[35m[BaseDriver]e[39m {}
[debug] e[35m[BaseDriver]e[39m ]
[debug] e[35m[BaseDriver]e[39m }
[warn] e[35m[BaseDriver]e[39m The following capabilities were provided, but are not recognized by Appium:
[warn] e[35m[BaseDriver]e[39m –session-override
[info] e[35m[BaseDriver]e[39m Session created with session id: c4db05ba-95f2-4669-b75e-43a828898420
[info] e[35m[BaseDriver]e[39m Using local app ‘D:\QAProjects\Hercules2\src\Hercules.apk’
[debug] e[35m[UiAutomator2]e[39m Checking whether app is actually present
[info] e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server’
[info] e[35m[AndroidDriver]e[39m Retrieving device list
[debug] e[35m[ADB]e[39m Trying to find a connected android device
[debug] e[35m[ADB]e[39m Getting connected devices
[debug] e[35m[ADB]e[39m Connected devices: [{“udid”:“emulator-5554”,“state”:“device”}]
[info] e[35m[AndroidDriver]e[39m Looking for a device with Android ‘10.0.0’
[debug] e[35m[ADB]e[39m Setting device id to emulator-5554
[info] e[35m[ADB]e[39m Getting device platform version
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release’[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.release’: 10
[info] e[35m[AndroidDriver]e[39m Using device: emulator-5554
[info] e[35m[ADB]e[39m Using ‘adb.exe’ from ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 start-server’
[debug] e[35m[ADB]e[39m Setting device id to emulator-5554
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk’[debug] e[35m[ADB]e[39m Current device property ‘ro.build.version.sdk’: 29
[info] e[35m[ADB]e[39m Getting device platform version
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell getprop ro.build.version.release’[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 wait-for-device’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell echo ping’
[debug] e[35m[AndroidDriver]e[39m Pushing settings apk to device…
[debug] e[35m[ADB]e[39m Getting install status for io.appium.settings
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings’[debug] e[35m[ADB]e[39m ‘io.appium.settings’ is installed
[debug] e[35m[ADB]e[39m Getting package info for ‘io.appium.settings’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings’[debug] e[35m[ADB]e[39m The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘3.2.1’ >= ‘3.2.1’)
[debug] e[35m[ADB]e[39m There is no need to install/upgrade ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk’
[debug] e[35m[ADB]e[39m Getting IDs of all ‘io.appium.settings’ processes
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ‘pgrep --help; echo $?’’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)’[debug] e[35m[AndroidDriver]e[39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] e[35m[Logcat]e[39m Starting logs capture with command: C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 logcat -v threadtime[debug] e[35m[UiAutomator2]e[39m Forwarding UiAutomator2 Server port 6790 to local port 8203
[debug] e[35m[ADB]e[39m Forwarding system: 8203 to device: 6790
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward tcp:8203 tcp:6790’[info] e[35m[UiAutomator2]e[39m Server package at ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.15.0.apk’ is not writeable. Will copy it into the temporary location at ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg’ as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
[info] e[35m[UiAutomator2]e[39m Server package at ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’ is not writeable. Will copy it into the temporary location at ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg’ as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server’[debug] e[35m[ADB]e[39m ‘io.appium.uiautomator2.server’ is installed
[debug] e[35m[ADB]e[39m Getting package info for ‘io.appium.uiautomator2.server’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server’[debug] e[35m[ADB]e[39m The version name of the installed ‘io.appium.uiautomator2.server’ is greater or equal to the application version name (‘4.15.0’ >= ‘4.15.0’)
[debug] e[35m[UiAutomator2]e[39m io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] e[35m[ADB]e[39m Checking app cert for C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg\appium-uiautomator2-server-v4.15.0.apk
[info] e[35m[ADB]e[39m Using ‘apksigner.jar’ from ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar’
[debug] e[35m[ADB]e[39m Starting apksigner: ‘C:\Program Files\Java\jdk1.8.0_271\bin\java.exe’ -Xmx1024M -Xss1m -jar C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar verify --print-certs C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg\appium-uiautomator2-server-v4.15.0.apk[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m sha256 hash did match for ‘appium-uiautomator2-server-v4.15.0.apk’
[info] e[35m[ADB]e[39m ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg\appium-uiautomator2-server-v4.15.0.apk’ is signed with the default certificate
[debug] e[35m[ADB]e[39m Getting install status for io.appium.uiautomator2.server.test
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test’[debug] e[35m[ADB]e[39m ‘io.appium.uiautomator2.server.test’ is installed
[debug] e[35m[ADB]e[39m Checking app cert for C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg\appium-uiautomator2-server-debug-androidTest.apk
[debug] e[35m[ADB]e[39m Starting apksigner: ‘C:\Program Files\Java\jdk1.8.0_271\bin\java.exe’ -Xmx1024M -Xss1m -jar C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar verify --print-certs C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg\appium-uiautomator2-server-debug-androidTest.apk[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m sha256 hash did match for ‘appium-uiautomator2-server-debug-androidTest.apk’
[info] e[35m[ADB]e[39m ‘C:\Users\rashid.ali\AppData\Local\Temp\20201120-4016-1q4vwk2.u7wg\appium-uiautomator2-server-debug-androidTest.apk’ is signed with the default certificate
[info] e[35m[UiAutomator2]e[39m Server packages are not going to be (re)installed
[debug] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for services to be available
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm list instrumentation’[debug] e[35m[UiAutomator2]e[39m Instrumentation target ‘io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner’ is available
[debug] e[35m[ADB]e[39m Checking app cert for D:\QAProjects\Hercules2\src\Hercules.apk
[debug] e[35m[ADB]e[39m Starting apksigner: ‘C:\Program Files\Java\jdk1.8.0_271\bin\java.exe’ -Xmx1024M -Xss1m -jar C:\Users\rashid.ali\AppData\Local\Android\Sdk\build-tools\30.0.3\lib\apksigner.jar verify --print-certs D:\QAProjects\Hercules2\src\Hercules.apk[debug] e[35m[ADB]e[39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc
[debug] e[35m[ADB]e[39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81
[debug] e[35m[ADB]e[39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87
[debug] e[35m[ADB]e[39m
[debug] e[35m[ADB]e[39m sha256 hash did match for ‘Hercules.apk’
[info] e[35m[ADB]e[39m ‘D:\QAProjects\Hercules2\src\Hercules.apk’ is signed with the default certificate
[debug] e[35m[ADB]e[39m Getting install status for io.neets.hercules
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.neets.hercules’[debug] e[35m[ADB]e[39m The version name of the installed ‘io.neets.hercules’ is greater or equal to the application version name (‘1.0.0’ >= ‘1.0.0’)
[debug] e[35m[ADB]e[39m There is no need to install/upgrade ‘D:\QAProjects\Hercules2\src\Hercules.apk’
[info] e[35m[AndroidDriver]e[39m Performing fast reset on ‘io.neets.hercules’
[debug] e[35m[ADB]e[39m Getting install status for io.neets.hercules
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys package io.neets.hercules’[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell pm clear io.neets.hercules’[debug] e[35m[AndroidDriver]e[39m Performed fast reset on the installed ‘io.neets.hercules’ application (stop and clear)
[debug] e[35m[UiAutomator2]e[39m Performing shallow cleanup of automation leftovers
[debug] e[35m[UiAutomator2]e[39m The following obsolete sessions are still running: [null]
[debug] e[35m[UiAutomator2]e[39m Cleaning up the obsolete sessions[debug] e[35m[Instrumentation]e[39m .[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test’[info] e[35m[UiAutomator2]e[39m Starting UIAutomator2 server 4.15.0
[info] e[35m[UiAutomator2]e[39m Using UIAutomator2 server from ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.15.0.apk’ and test from ‘C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk’
[info] e[35m[UiAutomator2]e[39m Waiting up to 30000ms for UiAutomator2 to be online…
[debug] e[35m[ADB]e[39m Creating ADB subprocess with args: ["-P",5037,"-s",“emulator-5554”,“shell”,“am”,“instrument”,"-w",“io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner”][debug] e[35m[Instrumentation]e[39m Time: 21.158
[debug] e[35m[Instrumentation]e[39m
[debug] e[35m[Instrumentation]e[39m OK (1 test)
[debug] e[35m[Instrumentation]e[39m The process has exited with code 0[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[Instrumentation]e[39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body
[info] e[35m[WD Proxy]e[39m socket hang up[debug] e[35m[WD Proxy]e[39m Matched ‘/status’ to command name ‘getStatus’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /status] to [GET http://127.0.0.1:8203/wd/hub/status] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“None”,“value”:{“message”:“UiAutomator2 Server is ready to accept commands”,“ready”:true}}
[debug] e[35m[UiAutomator2]e[39m The initialization of the instrumentation process took 4205ms
[debug] e[35m[WD Proxy]e[39m Matched ‘/session’ to command name ‘createSession’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /session] to [POST http://127.0.0.1:8203/wd/hub/session] with body: {“capabilities”:{“firstMatch”:[{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10.0”,“deviceUDID”:“emulator-5554”}],“alwaysMatch”:{}}}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“capabilities”:{“firstMatch”:[{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10.0”,“deviceUDID”:“emulator-5554”}],“alwaysMatch”:{}},“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”}}
[info] e[35m[WD Proxy]e[39m Determined the downstream protocol as ‘W3C’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/appium/device/info] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“androidId”:“b8f91b502b6da446”,“apiVersion”:“29”,“bluetooth”:null,“brand”:“google”,“carrierName”:“Android”,“displayDensity”:160,“locale”:“en_US”,“manufacturer”:“Google”,“model”:“Android SDK built for x86_64”,“networks”:[{“capabilities”:{“SSID”:null,“linkDownBandwidthKbps”:1048576,“linkUpstreamBandwidthKbps”:1048576,“networkCapabilities”:“NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED”,“signalStrength”:-30,“transportTypes”:“TRANSPORT_WIFI”},“detailedState”:“CONNECTED”,“extraInfo”:null,“isAvailable”:true,“isConnected”:true,“isFailover”:false,“isRoaming”:false,“state”:“CONNECTED”,“subtype”:0,“subtypeName”:"",“type”:1,“typeName”:“WIFI”},{“capabilities”:{“SSID”:null,“linkDownBandwidthKbps”:102400,“linkUpstreamBandwidthKbps”:51200,“networkC…
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell dumpsys window’
[info] e[35m[AndroidDriver]e[39m Screen already unlocked, doing nothing
[info] e[35m[UiAutomator2]e[39m Starting 'io.neets.hercules/io.neets.hercules.MainActivity and waiting for ‘io.neets.hercules/io.neets.hercules.MainActivity’
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n io.neets.hercules/io.neets.hercules.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000’[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/appium/device/pixel_ratio] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:1}
[debug] e[35m[WD Proxy]e[39m Matched ‘/appium/device/system_bars’ to command name ‘getSystemBars’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/appium/device/system_bars] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“statusBar”:24}}
[debug] e[35m[WD Proxy]e[39m Matched ‘/window/current/size’ to command name ‘getWindowSize’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/window/current/size] with no body[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“height”:752,“width”:1280}}
[info] e[35m[Appium]e[39m New AndroidUiautomator2Driver session created successfully, session c4db05ba-95f2-4669-b75e-43a828898420 added to master session list
[debug] e[35m[BaseDriver]e[39m Event ‘newSessionStarted’ logged at 1608416093589 (03:14:53 GMT+0500 (Pakistan Standard Time))
[debug] e[35m[W3C (c4db05ba)]e[39m Cached the protocol value ‘W3C’ for the new session c4db05ba-95f2-4669-b75e-43a828898420
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.createSession() result: {“capabilities”:{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,”–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10”,“deviceUDID”:“emulator-5554”,“deviceApiLevel”:29,“deviceScreenSize”:“1280x800”,“deviceScreenDensity”:160,“deviceModel”:“Android SDK built for x86_64”,“deviceManufacturer”:“Google”,“pixelRatio”:1,“statBarHeight”:24,“viewportRect”:{“left”:0,“top”:24,“width”:1280,“he…
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session e[39me[32m200e[39m e[90m18569 ms - 1098e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420e[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.getSession() with args: [“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[UiAutomator2]e[39m Getting session details from server to mix in
[debug] e[35m[WD Proxy]e[39m Matched ‘/’ to command name ‘getSession’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“lastScrollData”:null}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,”–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10”,“deviceUDID”:“emulator-5554”,“deviceApiLevel”:29,“deviceScreenSize”:“1280x800”,“deviceScreenDensity”:160,“deviceModel”:“Android SDK built for x86_64”,“deviceManufacturer”:“Google”,“pixelRatio”:1,“statBarHeight”:24,“viewportRect”:{“left”:0,“top”:24,“width”:1280,“height”:728},“last…
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420 e[39me[32m200e[39m e[90m52 ms - 1052e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420e[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.getSession() with args: [“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[UiAutomator2]e[39m Getting session details from server to mix in
[debug] e[35m[WD Proxy]e[39m Matched ‘/’ to command name ‘getSession’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“lastScrollData”:null}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.getSession() result: {“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”,”–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“Emulator 10”,“platformVersion”:“10.0”},“platformName”:“android”,"–session-override":true,“app”:“D:\QAProjects\Hercules2\src\Hercules.apk”,“appActivity”:“io.neets.hercules.MainActivity”,“appPackage”:“io.neets.hercules”,“automationName”:“UiAutomator2”,“deviceName”:“emulator-5554”,“platformVersion”:“10”,“deviceUDID”:“emulator-5554”,“deviceApiLevel”:29,“deviceScreenSize”:“1280x800”,“deviceScreenDensity”:160,“deviceModel”:“Android SDK built for x86_64”,“deviceManufacturer”:“Google”,“pixelRatio”:1,“statBarHeight”:24,“viewportRect”:{“left”:0,“top”:24,“width”:1280,“height”:728},“last…
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420 e[39me[32m200e[39m e[90m32 ms - 1052e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/timeoutse[39m
[info] e[35m[HTTP]e[39m e[90m{“implicit”:30000}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m W3C timeout argument: {“implicit”:30000}}
[debug] e[35m[BaseDriver]e[39m Set implicit wait to 30000ms
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.timeouts() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/timeouts e[39me[32m200e[39m e[90m5 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/cvControlSystem”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/cvControlSystem”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/cvControlSystem”,“context”:”",“multiple”:false}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“ELEMENT”:“1c23a665-0f5c-4ff1-a6d7-32884f5f7f56”,“element-6066-11e4-a52e-4f735466cecf”:“1c23a665-0f5c-4ff1-a6d7-32884f5f7f56”}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“1c23a665-0f5c-4ff1-a6d7-32884f5f7f56”,“ELEMENT”:“1c23a665-0f5c-4ff1-a6d7-32884f5f7f56”}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[32m200e[39m e[90m173 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/1c23a665-0f5c-4ff1-a6d7-32884f5f7f56/displayede[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.elementDisplayed() with args: [“1c23a665-0f5c-4ff1-a6d7-32884f5f7f56”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[WD Proxy]e[39m Matched ‘/element/1c23a665-0f5c-4ff1-a6d7-32884f5f7f56/attribute/displayed’ to command name ‘getAttribute’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/1c23a665-0f5c-4ff1-a6d7-32884f5f7f56/attribute/displayed] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element/1c23a665-0f5c-4ff1-a6d7-32884f5f7f56/attribute/displayed] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:“true”}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.elementDisplayed() result: true
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/1c23a665-0f5c-4ff1-a6d7-32884f5f7f56/displayed e[39me[32m200e[39m e[90m38 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/cvControlSystem”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/cvControlSystem”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/cvControlSystem”,“context”:"",“multiple”:false}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“ELEMENT”:“8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed”,“element-6066-11e4-a52e-4f735466cecf”:“8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed”}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed”,“ELEMENT”:“8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed”}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[32m200e[39m e[90m45 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed/clicke[39m
[info] e[35m[HTTP]e[39m e[90m{“id”:“8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.click() with args: [“8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[WD Proxy]e[39m Matched ‘/element/8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed/click’ to command name ‘click’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element/8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed/click] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element/8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed/click] with body: {“element”:“8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed”}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:null}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.click() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/8dfbbfa7-d5fb-4d45-a9e2-0b41029c12ed/click e[39me[32m200e[39m e[90m88 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/tvTitle”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/tvTitle”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/tvTitle”,“context”:"",“multiple”:false}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“ELEMENT”:“d6ca02bf-7461-4570-8dd2-ac7cc8446e46”,“element-6066-11e4-a52e-4f735466cecf”:“d6ca02bf-7461-4570-8dd2-ac7cc8446e46”}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“d6ca02bf-7461-4570-8dd2-ac7cc8446e46”,“ELEMENT”:“d6ca02bf-7461-4570-8dd2-ac7cc8446e46”}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[32m200e[39m e[90m47 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/d6ca02bf-7461-4570-8dd2-ac7cc8446e46/texte[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[info] e[35m[W3C (c4db05ba)]e[39m Driver proxy active, passing request on via HTTP proxy
[debug] e[35m[WD Proxy]e[39m Matched ‘/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/d6ca02bf-7461-4570-8dd2-ac7cc8446e46/text’ to command name ‘getText’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/d6ca02bf-7461-4570-8dd2-ac7cc8446e46/text] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element/d6ca02bf-7461-4570-8dd2-ac7cc8446e46/text] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:“IP setting of the Touch panel”}
[info] e[35m[WD Proxy]e[39m Replacing sessionId 68afe492-2a32-412b-997a-2f8e351e966d with c4db05ba-95f2-4669-b75e-43a828898420
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/d6ca02bf-7461-4570-8dd2-ac7cc8446e46/text e[39me[32m200e[39m e[90m27 ms - 92e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/ivToolbarLogo”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/ivToolbarLogo”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/ivToolbarLogo”,“context”:"",“multiple”:false}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“ELEMENT”:“c997e6eb-9ab7-4968-9413-f76b2962e3c5”,“element-6066-11e4-a52e-4f735466cecf”:“c997e6eb-9ab7-4968-9413-f76b2962e3c5”}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“c997e6eb-9ab7-4968-9413-f76b2962e3c5”,“ELEMENT”:“c997e6eb-9ab7-4968-9413-f76b2962e3c5”}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[32m200e[39m e[90m42 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/c997e6eb-9ab7-4968-9413-f76b2962e3c5/clicke[39m
[info] e[35m[HTTP]e[39m e[90m{“id”:“c997e6eb-9ab7-4968-9413-f76b2962e3c5”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.click() with args: [“c997e6eb-9ab7-4968-9413-f76b2962e3c5”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[WD Proxy]e[39m Matched ‘/element/c997e6eb-9ab7-4968-9413-f76b2962e3c5/click’ to command name ‘click’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element/c997e6eb-9ab7-4968-9413-f76b2962e3c5/click] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element/c997e6eb-9ab7-4968-9413-f76b2962e3c5/click] with body: {“element”:“c997e6eb-9ab7-4968-9413-f76b2962e3c5”}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:null}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.click() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/c997e6eb-9ab7-4968-9413-f76b2962e3c5/click e[39me[32m200e[39m e[90m75 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/btnNext”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/btnNext”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/btnNext”,“context”:"",“multiple”:false}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“ELEMENT”:“ffdcd088-19e9-4358-be06-166412f97653”,“element-6066-11e4-a52e-4f735466cecf”:“ffdcd088-19e9-4358-be06-166412f97653”}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“ffdcd088-19e9-4358-be06-166412f97653”,“ELEMENT”:“ffdcd088-19e9-4358-be06-166412f97653”}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[32m200e[39m e[90m32 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/ffdcd088-19e9-4358-be06-166412f97653/clicke[39m
[info] e[35m[HTTP]e[39m e[90m{“id”:“ffdcd088-19e9-4358-be06-166412f97653”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.click() with args: [“ffdcd088-19e9-4358-be06-166412f97653”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[WD Proxy]e[39m Matched ‘/element/ffdcd088-19e9-4358-be06-166412f97653/click’ to command name ‘click’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element/ffdcd088-19e9-4358-be06-166412f97653/click] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element/ffdcd088-19e9-4358-be06-166412f97653/click] with body: {“element”:“ffdcd088-19e9-4358-be06-166412f97653”}[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:null}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.click() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/ffdcd088-19e9-4358-be06-166412f97653/click e[39me[32m200e[39m e[90m82 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/cvTouchPanel”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/cvTouchPanel”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/cvTouchPanel”,“context”:"",“multiple”:false}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“ELEMENT”:“670e4696-fd35-49ab-bcfc-48454b3bb41e”,“element-6066-11e4-a52e-4f735466cecf”:“670e4696-fd35-49ab-bcfc-48454b3bb41e”}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“670e4696-fd35-49ab-bcfc-48454b3bb41e”,“ELEMENT”:“670e4696-fd35-49ab-bcfc-48454b3bb41e”}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[32m200e[39m e[90m28 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mGETe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/670e4696-fd35-49ab-bcfc-48454b3bb41e/displayede[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.elementDisplayed() with args: [“670e4696-fd35-49ab-bcfc-48454b3bb41e”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[WD Proxy]e[39m Matched ‘/element/670e4696-fd35-49ab-bcfc-48454b3bb41e/attribute/displayed’ to command name ‘getAttribute’
[debug] e[35m[WD Proxy]e[39m Proxying [GET /element/670e4696-fd35-49ab-bcfc-48454b3bb41e/attribute/displayed] to [GET http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element/670e4696-fd35-49ab-bcfc-48454b3bb41e/attribute/displayed] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:“true”}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.elementDisplayed() result: true
[info] e[35m[HTTP]e[39m e[37m<-- GET /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/670e4696-fd35-49ab-bcfc-48454b3bb41e/displayed e[39me[32m200e[39m e[90m17 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/cvTouchPanel”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/cvTouchPanel”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/cvTouchPanel”,“context”:"",“multiple”:false}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:{“ELEMENT”:“9de43806-708d-4c05-a09b-65b130618fa7”,“element-6066-11e4-a52e-4f735466cecf”:“9de43806-708d-4c05-a09b-65b130618fa7”}}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.findElement() result: {“element-6066-11e4-a52e-4f735466cecf”:“9de43806-708d-4c05-a09b-65b130618fa7”,“ELEMENT”:“9de43806-708d-4c05-a09b-65b130618fa7”}
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[32m200e[39m e[90m28 ms - 137e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/9de43806-708d-4c05-a09b-65b130618fa7/clicke[39m
[info] e[35m[HTTP]e[39m e[90m{“id”:“9de43806-708d-4c05-a09b-65b130618fa7”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.click() with args: [“9de43806-708d-4c05-a09b-65b130618fa7”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[WD Proxy]e[39m Matched ‘/element/9de43806-708d-4c05-a09b-65b130618fa7/click’ to command name ‘click’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element/9de43806-708d-4c05-a09b-65b130618fa7/click] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element/9de43806-708d-4c05-a09b-65b130618fa7/click] with body: {“element”:“9de43806-708d-4c05-a09b-65b130618fa7”}
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“68afe492-2a32-412b-997a-2f8e351e966d”,“value”:null}
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.click() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element/9de43806-708d-4c05-a09b-65b130618fa7/click e[39me[32m200e[39m e[90m61 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[warn] e[35m[BaseDriver]e[39m Shutting down because we waited 60 seconds for a command
[warn] e[35m[Appium]e[39m Closing session, cause was ‘New Command Timeout of 60 seconds expired. Try customizing the timeout using the ‘newCommandTimeout’ desired capability’
[info] e[35m[Appium]e[39m Removing session ‘b2e89b1e-dda8-4783-a6e0-04edfcff7925’ from our master session list
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 session
[debug] e[35m[UiAutomator2]e[39m Deleting UiAutomator2 server session
[debug] e[35m[WD Proxy]e[39m Matched ‘/’ to command name ‘deleteSession’
[debug] e[35m[WD Proxy]e[39m Proxying [DELETE /] to [DELETE http://127.0.0.1:8202/wd/hub/session/4e893e64-f819-4cea-9230-0fb710d49c2f] with no body
[debug] e[35m[WD Proxy]e[39m Got response with status 200: {“sessionId”:“4e893e64-f819-4cea-9230-0fb710d49c2f”,“value”:null}
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.neets.hercules’[debug] e[35m[Logcat]e[39m Stopping logcat capture
[debug] e[35m[ADB]e[39m Removing forwarded port socket connection: 8202
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 forward --remove tcp:8202’[debug] e[35m[Instrumentation]e[39m .
[info] e[35m[UiAutomator2]e[39m Restoring hidden api policy to the device default configuration
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell ‘settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy’’[debug] e[35m[Instrumentation]e[39m Time: 42.211
[debug] e[35m[Instrumentation]e[39m
[debug] e[35m[Instrumentation]e[39m OK (1 test)[debug] e[35m[Instrumentation]e[39m The process has exited with code 0
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/tvTitle”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/tvTitle”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/tvTitle”,“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m25 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/cvOtherApps”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/cvOtherApps”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/cvOtherApps”,“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m20 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/cvOtherApps”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/cvOtherApps”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/cvOtherApps”,“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m19 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“xpath”,“value”:"//android.widget.TextView[@text=‘Neets control system’]"}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“xpath”,"//android.widget.TextView[@text=‘Neets control system’]",“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“xpath”,“selector”:"//android.widget.TextView[@text=‘Neets control system’]",“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m22 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/btnAction”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/btnAction”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/btnAction”,“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m19 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/etMasked”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/etMasked”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/etMasked”,“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m28 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/etMasked”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/etMasked”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/etMasked”,“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m24 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m27 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/elemente[39m
[info] e[35m[HTTP]e[39m e[90m{“using”:“id”,“value”:“io.neets.hercules:id/btnAction”}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.findElement() with args: [“id”,“io.neets.hercules:id/btnAction”,“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[BaseDriver]e[39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] e[35m[BaseDriver]e[39m Waiting up to 30000 ms for condition
[debug] e[35m[WD Proxy]e[39m Matched ‘/element’ to command name ‘findElement’
[debug] e[35m[WD Proxy]e[39m Proxying [POST /element] to [POST http://127.0.0.1:8203/wd/hub/session/68afe492-2a32-412b-997a-2f8e351e966d/element] with body: {“strategy”:“id”,“selector”:“io.neets.hercules:id/btnAction”,“context”:"",“multiple”:false}
[info] e[35m[WD Proxy]e[39m socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: socket hang up
[debug] e[35m[W3C (c4db05ba)]e[39m at JWProxy.command (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\jsonwp-proxy\proxy.js:275:13)
[debug] e[35m[W3C (c4db05ba)]e[39m at processTicksAndRejections (internal/process/task_queues.js:85:5)
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/element e[39me[31m500e[39m e[90m9 ms - 631e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/appium/app/closee[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.closeApp() with args: [“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.neets.hercules’[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.closeApp() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/appium/app/close e[39me[32m200e[39m e[90m106 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m
[info] e[35m[HTTP]e[39m e[37m–>e[39m e[37mPOSTe[39m e[37m/wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/appium/app/closee[39m
[info] e[35m[HTTP]e[39m e[90m{}e[39m
[debug] e[35m[W3C (c4db05ba)]e[39m Calling AppiumDriver.closeApp() with args: [“c4db05ba-95f2-4669-b75e-43a828898420”]
[debug] e[35m[ADB]e[39m Running ‘C:\Users\rashid.ali\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am force-stop io.neets.hercules’
[debug] e[35m[W3C (c4db05ba)]e[39m Responding to client with driver.closeApp() result: null
[info] e[35m[HTTP]e[39m e[37m<-- POST /wd/hub/session/c4db05ba-95f2-4669-b75e-43a828898420/appium/app/close e[39me[32m200e[39m e[90m101 ms - 14e[39m
[info] e[35m[HTTP]e[39m e[90me[39m