Appium skipping apk file installation inside docker container

I have linux machine with docker container where appium running on linux environment. Mobile device pluged in via USB(LG K22, Android 10) with all granted permissions. Adb devices displays this device. Apk provided with url. The problem is when I running tests the apk is not installing, its like skipping the installation, if app is already installed it doesn’t launch with appPackage and appActivity capabilities. Appium logs shows no errors. The test is running perfect locally on my Windows machine with this capabilities:

String apkLink = SettingsProvider.getPropertyValue("front.android.apk.link") +
                    "/" + SettingsProvider.getPropertyValue("front.android.version");
            DesiredCapabilities capabilities = new DesiredCapabilities();
            capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android");
            capabilities.setCapability(MobileCapabilityType.APP, apkLink);
            capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, "uiautomator2");
            capabilities.setCapability("autoGrantPermissions", true);
            capabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 220);

Where should I search for problem?

Take a look at the description of the app capability here:

https://appium.io/docs/en/writing-running-appium/caps/#general-capabilities

Make it an absolute path to the .apk file for it to install.

I tried this option but with no success

I can’t help you without logs.

[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“platformName”:“android”},“capabilities”:{“firstMatch”:[{“platformName”:“android”}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{“platformName”:“android”},null,{“firstMatch”:[{“platformName”:“android”}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1646635365387 (22:42:45 GMT-0800 (Pacific Standard Time))
[Appium]
[Appium] ======================================================================
[Appium] DEPRECATION WARNING:
[Appium]
[Appium] The ‘automationName’ capability was not provided in the desired
[Appium] capabilities for this Android session
[Appium]
[Appium] Setting ‘automationName=UiAutomator2’ by default and using the
[Appium] UiAutomator2 Driver
[Appium]
[Appium] The next major version of Appium (2.x) will require the
[Appium] ‘automationName’ capability to be set for all sessions on all
[Appium] platforms
[Appium]
[Appium] In previous versions (Appium <= 1.13.x), the default was
[Appium] ‘automationName=UiAutomator1’
[Appium]
[Appium] If you wish to use that automation instead of UiAutomator2, please
[Appium] add ‘automationName=UiAutomator1’ to your desired capabilities
[Appium]
[Appium] For more information about drivers, please visit
[Appium] http://appium.io/docs/en/about-appium/intro/ and explore the
[Appium] ‘Drivers’ menu
[Appium]
[Appium] ======================================================================
[Appium]
[Appium] Appium v1.22.0 creating new AndroidUiautomator2Driver (v1.69.0) session
[Appium] Applying relaxed security to ‘AndroidUiautomator2Driver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] “alwaysMatch”: {
[debug] [BaseDriver] “platformName”: “android”
[debug] [BaseDriver] },
[debug] [BaseDriver] “firstMatch”: [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: c0e6925c-4fbc-4669-b165-54c02a91fea3
[UiAutomator2] Neither ‘app’ nor ‘appPackage’ was set. Starting UiAutomator2 without the target application
[ADB] Using ‘adb’ from ‘/root/platform-tools/adb’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 start-server’
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{“udid”:“51936818”,“state”:“device”}]
[AndroidDriver] Using device: 51936818
[ADB] Using ‘adb’ from ‘/root/platform-tools/adb’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 start-server’
[debug] [ADB] Setting device id to 51936818
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell getprop ro.build.version.sdk’
[debug] [ADB] Current device property ‘ro.build.version.sdk’: 29
[ADB] Getting device platform version
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell getprop ro.build.version.release’
[debug] [ADB] Current device property ‘ro.build.version.release’: 10
[debug] [ADB] Device API level: 29
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 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’’
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 wait-for-device’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell echo ping’
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.settings’
[debug] [ADB] ‘io.appium.settings’ is installed
[debug] [ADB] Getting package info for ‘io.appium.settings’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.settings’
[debug] [ADB] The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘3.4.0’ >= ‘3.4.0’)
[debug] [ADB] There is no need to install/upgrade ‘/usr/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk’
[debug] [ADB] Getting IDs of all ‘io.appium.settings’ processes
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell ‘pgrep --help; echo $?’’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)’
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell appops set io.appium.settings android:mock_location allow’
[debug] [Logcat] Starting logs capture with command: /root/platform-tools/adb -P 5037 -s 51936818 logcat -v threadtime
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8245
[debug] [ADB] Forwarding system: 8245 to device: 6790
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 forward tcp:8245 tcp:6790’
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.uiautomator2.server’
[debug] [ADB] ‘io.appium.uiautomator2.server’ is installed
[debug] [ADB] Getting package info for ‘io.appium.uiautomator2.server’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.uiautomator2.server’
[debug] [ADB] The version name of the installed ‘io.appium.uiautomator2.server’ is greater or equal to the application version name (‘4.24.0’ >= ‘4.24.0’)
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.24.0.apk
[debug] [ADB] Using the previously cached signature entry for ‘appium-uiautomator2-server-v4.24.0.apk’
[debug] [ADB] sha256 hash did match for ‘appium-uiautomator2-server-v4.24.0.apk’
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.uiautomator2.server.test’
[debug] [ADB] ‘io.appium.uiautomator2.server.test’ is installed
[debug] [ADB] Checking app cert for /usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Using the previously cached signature entry for ‘appium-uiautomator2-server-debug-androidTest.apk’
[debug] [ADB] sha256 hash did match for ‘appium-uiautomator2-server-debug-androidTest.apk’
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell pm list instrumentation’
[debug] [UiAutomator2] Instrumentation target ‘io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner’ is available
[ADB] Adding packages [“io.appium.settings”,“io.appium.uiautomator2.server”,“io.appium.uiautomator2.server.test”] to Doze whitelist
[debug] [ADB] Got the following command chunks to execute: [[“dumpsys”,“deviceidle”,“whitelist”,"+io.appium.settings",";",“dumpsys”,“deviceidle”,“whitelist”,"+io.appium.uiautomator2.server",";",“dumpsys”,“deviceidle”,“whitelist”,"+io.appium.uiautomator2.server.test",";"]]
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;’
[debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] The following obsolete sessions are still running: [“a9104fab-db8a-45c6-83e3-140d170ab60a”]
[debug] [UiAutomator2] Cleaning up 1 obsolete session
[debug] [Instrumentation] .
[debug] [Instrumentation] Time: 312.471
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell am force-stop io.appium.uiautomator2.server.test’
[debug] [Instrumentation] The process has exited with code 0
[UiAutomator2] Starting UIAutomator2 server 4.24.0
[UiAutomator2] Using UIAutomator2 server from ‘/usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.24.0.apk’ and test from ‘/usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk’
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online…
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s",“51936818”,“shell”,“am”,“instrument”,"-w","-e",“disableAnalytics”,true,“io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner”]
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8245/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8245/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8245/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8245/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8245/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“None”,“value”:{“message”:“UiAutomator2 Server is ready to accept commands”,“ready”:true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 4198ms
[debug] [WD Proxy] Matched ‘/session’ to command name ‘createSession’
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8245/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”},“platformName”:“android”,“deviceName”:“51936818”,“deviceUDID”:“51936818”}],“alwaysMatch”:{}}}
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“b91d5619-20e1-4898-935f-a7d7ebc078eb”,“value”:{“capabilities”:{“firstMatch”:[{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”},“platformName”:“android”,“deviceName”:“51936818”,“deviceUDID”:“51936818”}],“alwaysMatch”:{}},“sessionId”:“b91d5619-20e1-4898-935f-a7d7ebc078eb”}}
[WD Proxy] Determined the downstream protocol as ‘W3C’
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8245/wd/hub/session/b91d5619-20e1-4898-935f-a7d7ebc078eb/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“b91d5619-20e1-4898-935f-a7d7ebc078eb”,“value”:{“androidId”:“2b9e978c0795e826”,“apiVersion”:“29”,“bluetooth”:{“state”:“OFF”},“brand”:“lge”,“carrierName”:"",“displayDensity”:320,“locale”:“en_GB”,“manufacturer”:“LGE”,“model”:“LM-K200”,“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”:-48,“transportTypes”:“TRANSPORT_WIFI”},“detailedState”:“CONNECTED”,“extraInfo”:null,“isAvailable”:true,“isConnected”:true,“isFailover”:false,“isRoaming”:false,“state”:“CONNECTED”,“subtype”:0,“subtypeName”:"",“type”:1,“typeName”:“WIFI”}],“platformVersion”:“10”,“realDisplaySize”:“720x1520”,“timeZone”:“Europe/Riga”}}
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys window’
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8245/wd/hub/session/b91d5619-20e1-4898-935f-a7d7ebc078eb/appium/device/pixel_ratio] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“b91d5619-20e1-4898-935f-a7d7ebc078eb”,“value”:2}
[debug] [WD Proxy] Matched ‘/appium/device/system_bars’ to command name ‘getSystemBars’
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8245/wd/hub/session/b91d5619-20e1-4898-935f-a7d7ebc078eb/appium/device/system_bars] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“b91d5619-20e1-4898-935f-a7d7ebc078eb”,“value”:{“statusBar”:58}}
[debug] [WD Proxy] Matched ‘/window/current/size’ to command name ‘getWindowSize’
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8245/wd/hub/session/b91d5619-20e1-4898-935f-a7d7ebc078eb/window/current/size] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“b91d5619-20e1-4898-935f-a7d7ebc078eb”,“value”:{“height”:1372,“width”:720}}
[Appium] New AndroidUiautomator2Driver session created successfully, session c0e6925c-4fbc-4669-b165-54c02a91fea3 added to master session list
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1646635373541 (22:42:53 GMT-0800 (Pacific Standard Time))
[debug] [W3C (c0e6925c)] Cached the protocol value ‘W3C’ for the new session c0e6925c-4fbc-4669-b165-54c02a91fea3
[debug] [W3C (c0e6925c)] 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”},“platformName”:“android”,“deviceName”:“51936818”,“deviceUDID”:“51936818”,“deviceApiLevel”:29,“platformVersion”:“10”,“deviceScreenSize”:“720x1520”,“deviceScreenDensity”:320,“deviceModel”:“LM-K200”,“deviceManufacturer”:“LGE”,“pixelRatio”:2,“statBarHeight”:58,“viewportRect”:{“left”:0,“top”:58,“width”:720,“height”:1314}}}
[HTTP] <-- POST /wd/hub/session 200 8158 ms - 628
[HTTP]
[HTTP] --> POST /wd/hub/session
[HTTP] {“desiredCapabilities”:{“platformName”:“android”},“capabilities”:{“firstMatch”:[{“platformName”:“android”}]}}
[debug] [W3C] Calling AppiumDriver.createSession() with args: [{“platformName”:“android”},null,{“firstMatch”:[{“platformName”:“android”}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1646635395290 (22:43:15 GMT-0800 (Pacific Standard Time))
[Appium]
[Appium] ======================================================================
[Appium] DEPRECATION WARNING:
[Appium]
[Appium] The ‘automationName’ capability was not provided in the desired
[Appium] capabilities for this Android session
[Appium]
[Appium] Setting ‘automationName=UiAutomator2’ by default and using the
[Appium] UiAutomator2 Driver
[Appium]
[Appium] The next major version of Appium (2.x) will require the
[Appium] ‘automationName’ capability to be set for all sessions on all
[Appium] platforms
[Appium]
[Appium] In previous versions (Appium <= 1.13.x), the default was
[Appium] ‘automationName=UiAutomator1’
[Appium]
[Appium] If you wish to use that automation instead of UiAutomator2, please
[Appium] add ‘automationName=UiAutomator1’ to your desired capabilities
[Appium]
[Appium] For more information about drivers, please visit
[Appium] http://appium.io/docs/en/about-appium/intro/ and explore the
[Appium] ‘Drivers’ menu
[Appium]
[Appium] ======================================================================
[Appium]
[Appium] Appium v1.22.0 creating new AndroidUiautomator2Driver (v1.69.0) session
[Appium] Applying relaxed security to ‘AndroidUiautomator2Driver’ as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure
[debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided
[debug] [BaseDriver] Creating session with W3C capabilities: {
[debug] [BaseDriver] “alwaysMatch”: {
[debug] [BaseDriver] “platformName”: “android”
[debug] [BaseDriver] },
[debug] [BaseDriver] “firstMatch”: [
[debug] [BaseDriver] {}
[debug] [BaseDriver] ]
[debug] [BaseDriver] }
[BaseDriver] Session created with session id: 62a909f7-84d6-4b19-bfc5-d50fcab2ff5c
[UiAutomator2] Neither ‘app’ nor ‘appPackage’ was set. Starting UiAutomator2 without the target application
[ADB] Using ‘adb’ from ‘/root/platform-tools/adb’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 start-server’
[AndroidDriver] Retrieving device list
[debug] [ADB] Trying to find a connected android device
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{“udid”:“51936818”,“state”:“device”}]
[AndroidDriver] Using device: 51936818
[ADB] Using ‘adb’ from ‘/root/platform-tools/adb’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 start-server’
[debug] [ADB] Setting device id to 51936818
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell getprop ro.build.version.sdk’
[debug] [ADB] Current device property ‘ro.build.version.sdk’: 29
[ADB] Getting device platform version
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell getprop ro.build.version.release’
[debug] [ADB] Current device property ‘ro.build.version.release’: 10
[debug] [ADB] Device API level: 29
[UiAutomator2] Relaxing hidden api policy
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 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’’
[AndroidDriver] No app sent in, not parsing package/activity
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 wait-for-device’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell echo ping’
[debug] [AndroidDriver] Pushing settings apk to device…
[debug] [ADB] Getting install status for io.appium.settings
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.settings’
[debug] [ADB] ‘io.appium.settings’ is installed
[debug] [ADB] Getting package info for ‘io.appium.settings’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.settings’
[debug] [ADB] The version name of the installed ‘io.appium.settings’ is greater or equal to the application version name (‘3.4.0’ >= ‘3.4.0’)
[debug] [ADB] There is no need to install/upgrade ‘/usr/lib/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk’
[debug] [ADB] Getting IDs of all ‘io.appium.settings’ processes
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell ‘pgrep --help; echo $?’’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)’
[debug] [AndroidDriver] io.appium.settings is already running. There is no need to reset its permissions.
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell appops set io.appium.settings android:mock_location allow’
[debug] [Logcat] Starting logs capture with command: /root/platform-tools/adb -P 5037 -s 51936818 logcat -v threadtime
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8255
[debug] [ADB] Forwarding system: 8255 to device: 6790
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 forward tcp:8255 tcp:6790’
[debug] [ADB] Getting install status for io.appium.uiautomator2.server
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.uiautomator2.server’
[debug] [ADB] ‘io.appium.uiautomator2.server’ is installed
[debug] [ADB] Getting package info for ‘io.appium.uiautomator2.server’
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.uiautomator2.server’
[debug] [ADB] The version name of the installed ‘io.appium.uiautomator2.server’ is greater or equal to the application version name (‘4.24.0’ >= ‘4.24.0’)
[debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[debug] [ADB] Checking app cert for /usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.24.0.apk
[debug] [ADB] Using the previously cached signature entry for ‘appium-uiautomator2-server-v4.24.0.apk’
[debug] [ADB] sha256 hash did match for ‘appium-uiautomator2-server-v4.24.0.apk’
[debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package io.appium.uiautomator2.server.test’
[debug] [ADB] ‘io.appium.uiautomator2.server.test’ is installed
[debug] [ADB] Checking app cert for /usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[debug] [ADB] Using the previously cached signature entry for ‘appium-uiautomator2-server-debug-androidTest.apk’
[debug] [ADB] sha256 hash did match for ‘appium-uiautomator2-server-debug-androidTest.apk’
[UiAutomator2] Server packages are not going to be (re)installed
[debug] [UiAutomator2] Waiting up to 30000ms for services to be available
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell pm list instrumentation’
[debug] [UiAutomator2] Instrumentation target ‘io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner’ is available
[ADB] Adding packages [“io.appium.settings”,“io.appium.uiautomator2.server”,“io.appium.uiautomator2.server.test”] to Doze whitelist
[debug] [ADB] Got the following command chunks to execute: [[“dumpsys”,“deviceidle”,“whitelist”,"+io.appium.settings",";",“dumpsys”,“deviceidle”,“whitelist”,"+io.appium.uiautomator2.server",";",“dumpsys”,“deviceidle”,“whitelist”,"+io.appium.uiautomator2.server.test",";"]]
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;’
[debug] [UiAutomator2] No app capability. Assuming it is already on the device
[debug] [UiAutomator2] Performing shallow cleanup of automation leftovers
[debug] [UiAutomator2] The following obsolete sessions are still running: [“b91d5619-20e1-4898-935f-a7d7ebc078eb”]
[debug] [UiAutomator2] Cleaning up 1 obsolete session
[debug] [Instrumentation] .
[debug] [Instrumentation] Time: 27.121
[debug] [Instrumentation]
[debug] [Instrumentation] OK (1 test)
[debug] [Instrumentation] The process has exited with code 0
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell am force-stop io.appium.uiautomator2.server.test’
[UiAutomator2] Starting UIAutomator2 server 4.24.0
[UiAutomator2] Using UIAutomator2 server from ‘/usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.24.0.apk’ and test from ‘/usr/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk’
[UiAutomator2] Waiting up to 30000ms for UiAutomator2 to be online…
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s",“51936818”,“shell”,“am”,“instrument”,"-w","-e",“disableAnalytics”,true,“io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner”]
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8255/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8255/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8255/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8255/wd/hub/status] with no body
[WD Proxy] socket hang up
[debug] [WD Proxy] Matched ‘/status’ to command name ‘getStatus’
[debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8255/wd/hub/status] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“None”,“value”:{“message”:“UiAutomator2 Server is ready to accept commands”,“ready”:true}}
[debug] [UiAutomator2] The initialization of the instrumentation process took 4196ms
[debug] [WD Proxy] Matched ‘/session’ to command name ‘createSession’
[debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8255/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”},“platformName”:“android”,“deviceName”:“51936818”,“deviceUDID”:“51936818”}],“alwaysMatch”:{}}}
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“capabilities”:{“firstMatch”:[{“platform”:“LINUX”,“webStorageEnabled”:false,“takesScreenshot”:true,“javascriptEnabled”:true,“databaseEnabled”:false,“networkConnectionEnabled”:true,“locationContextEnabled”:false,“warnings”:{},“desired”:{“platformName”:“android”},“platformName”:“android”,“deviceName”:“51936818”,“deviceUDID”:“51936818”}],“alwaysMatch”:{}},“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”}}
[WD Proxy] Determined the downstream protocol as ‘W3C’
[debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/appium/device/info] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“androidId”:“2b9e978c0795e826”,“apiVersion”:“29”,“bluetooth”:{“state”:“OFF”},“brand”:“lge”,“carrierName”:"",“displayDensity”:320,“locale”:“en_GB”,“manufacturer”:“LGE”,“model”:“LM-K200”,“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”:-48,“transportTypes”:“TRANSPORT_WIFI”},“detailedState”:“CONNECTED”,“extraInfo”:null,“isAvailable”:true,“isConnected”:true,“isFailover”:false,“isRoaming”:false,“state”:“CONNECTED”,“subtype”:0,“subtypeName”:"",“type”:1,“typeName”:“WIFI”}],“platformVersion”:“10”,“realDisplaySize”:“720x1520”,“timeZone”:“Europe/Riga”}}
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys window’
[AndroidDriver] Screen already unlocked, doing nothing
[debug] [WD Proxy] Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/appium/device/pixel_ratio] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:2}
[debug] [WD Proxy] Matched ‘/appium/device/system_bars’ to command name ‘getSystemBars’
[debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/appium/device/system_bars] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“statusBar”:58}}
[debug] [WD Proxy] Matched ‘/window/current/size’ to command name ‘getWindowSize’
[debug] [WD Proxy] Proxying [GET /window/current/size] to [GET http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/window/current/size] with no body
[debug] [WD Proxy] Got response with status 200: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“height”:1372,“width”:720}}
[Appium] New AndroidUiautomator2Driver session created successfully, session 62a909f7-84d6-4b19-bfc5-d50fcab2ff5c added to master session list
[debug] [BaseDriver] Event ‘newSessionStarted’ logged at 1646635403474 (22:43:23 GMT-0800 (Pacific Standard Time))
[debug] [W3C (62a909f7)] Cached the protocol value ‘W3C’ for the new session 62a909f7-84d6-4b19-bfc5-d50fcab2ff5c
[debug] [W3C (62a909f7)] 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”},“platformName”:“android”,“deviceName”:“51936818”,“deviceUDID”:“51936818”,“deviceApiLevel”:29,“platformVersion”:“10”,“deviceScreenSize”:“720x1520”,“deviceScreenDensity”:320,“deviceModel”:“LM-K200”,“deviceManufacturer”:“LGE”,“pixelRatio”:2,“statBarHeight”:58,“viewportRect”:{“left”:0,“top”:58,“width”:720,“height”:1314}}}
[HTTP] <-- POST /wd/hub/session 200 8188 ms - 628
[HTTP]
[HTTP] --> POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/appium/device/app_installed
[HTTP] {“bundleId”:“com.softlabs.bet20”}
[debug] [W3C (62a909f7)] Calling AppiumDriver.isAppInstalled() with args: [“com.softlabs.bet20”,“62a909f7-84d6-4b19-bfc5-d50fcab2ff5c”]
[debug] [ADB] Getting install status for com.softlabs.bet20
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell dumpsys package com.softlabs.bet20’
[debug] [ADB] ‘com.softlabs.bet20’ is not installed
[debug] [W3C (62a909f7)] Responding to client with driver.isAppInstalled() result: false
[HTTP] <-- POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/appium/device/app_installed 200 110 ms - 15
[HTTP]
[HTTP] --> POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/timeouts
[HTTP] {“implicit”:5000}
[debug] [W3C (62a909f7)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,5000,“62a909f7-84d6-4b19-bfc5-d50fcab2ff5c”]
[debug] [BaseDriver] W3C timeout argument: {“implicit”:5000}}
[debug] [BaseDriver] Set implicit wait to 5000ms
[debug] [W3C (62a909f7)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/timeouts 200 3 ms - 14
[HTTP]
[HTTP] --> POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/element
[HTTP] {“value”:"#com\.softlabs\.bet20\.staging\:id\/registrationButton",“using”:“css selector”}
[debug] [W3C (62a909f7)] Calling AppiumDriver.findElement() with args: [“css selector”,"#com\.softlabs\.bet20\.staging\:id\/registrationButton",“62a909f7-84d6-4b19-bfc5-d50fcab2ff5c”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 5000 ms for condition
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 99 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 1139 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 1725 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 2312 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 2896 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 3475 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 4055 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 4627 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [W3C (62a909f7)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
[debug] [W3C (62a909f7)] at AndroidUiautomator2Driver.findElOrEls (/usr/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11)
[debug] [W3C (62a909f7)] at runMicrotasks ()
[debug] [W3C (62a909f7)] at processTicksAndRejections (internal/process/task_queues.js:97:5)
[HTTP] <-- POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/element 404 5082 ms - 490
[HTTP]
[HTTP] --> POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/element
[HTTP] {“value”:”#com\.softlabs\.bet20\.staging\:id\/registrationButton",“using”:“css selector”}
[debug] [W3C (62a909f7)] Calling AppiumDriver.findElement() with args: [“css selector”,"#com\.softlabs\.bet20\.staging\:id\/registrationButton",“62a909f7-84d6-4b19-bfc5-d50fcab2ff5c”]
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator
[debug] [BaseDriver] Waiting up to 5000 ms for condition
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:"-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 78 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 662 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 1248 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 1818 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 2487 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 3071 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 3642 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 4259 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:“io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [BaseDriver] Waited for 4825 ms so far
[debug] [WD Proxy] Matched ‘/element’ to command name ‘findElement’
[debug] [WD Proxy] Proxying [POST /element] to [POST http://127.0.0.1:8255/wd/hub/session/16acec27-4c83-4417-8f25-ea14ba02ba55/element] with body: {“strategy”:”-android uiautomator",“selector”:“new UiSelector().resourceId(“com.softlabs.bet20.staging:id/registrationButton”)”,“context”:"",“multiple”:false}
[WD Proxy] Got response with status 404: {“sessionId”:“16acec27-4c83-4417-8f25-ea14ba02ba55”,“value”:{“error”:“no such element”,“message”:“An element could not be located on the page using the given search parameters”,“stacktrace”:"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:70)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:264)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:258)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.chann…
[debug] [W3C] Matched W3C error code ‘no such element’ to NoSuchElementError
[debug] [W3C (62a909f7)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters.
[debug] [W3C (62a909f7)] at AndroidUiautomator2Driver.findElOrEls (/usr/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11)
[debug] [W3C (62a909f7)] at runMicrotasks ()
[debug] [W3C (62a909f7)] at processTicksAndRejections (internal/process/task_queues.js:97:5)
[HTTP] <-- POST /wd/hub/session/62a909f7-84d6-4b19-bfc5-d50fcab2ff5c/element 404 5072 ms - 490
[HTTP]
[BaseDriver] Shutting down because we waited 60 seconds for a command
[Appium] Closing session, cause was ‘New Command Timeout of 60 seconds expired. Try customizing the timeout using the ‘newCommandTimeout’ desired capability’
[Appium] Removing session ‘c0e6925c-4fbc-4669-b165-54c02a91fea3’ from our master session list
[debug] [UiAutomator2] Deleting UiAutomator2 session
[debug] [UiAutomator2] Deleting UiAutomator2 server session
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: ‘DELETE /’ cannot be proxied to UiAutomator2 server because the instrumentation process is not running (probably crashed). Check the server log and/or the logcat output for more details
[debug] [Logcat] Stopping logcat capture
[debug] [ADB] Removing forwarded port socket connection: 8245
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 forward --remove tcp:8245’
[UiAutomator2] Restoring hidden api policy to the device default configuration
[debug] [ADB] Running ‘/root/platform-tools/adb -P 5037 -s 51936818 shell ‘settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy’’

Try it again please. Whatever you did was not correct. You can post the code you are using if you want.