Something weird is happening with Appium on MAC OS X.
I try to locate an element by ID on the application. I will need to click on the button.
My python code works successfully on Windows 10. When I inspect the element with Appium desktop, I can find the element with success (see screenshot below):
But in Mac OS X, Appium can’t find the element in the same screen on the same smartphone. Please see below the screenshot.
Testing the same xpath on same page of same app in same smartphone works in WIndows but not in Mac os X.
Here are my environment:
The one which works :
Windows 10
Java version 8 (update 241)
Appium 1.17.1-1
NodeJS 12.8.1
Android Debug Bridge version 1.0.41
Version 30.0.3-6597393
The one which doesn’t work :
MAC OS X Catalina 10.15.6
Java version 14 (update 241)
Appium 1.18.0-2
NodeJS 12.8.1
Android Debug Bridge version 1.0.41
Version 30.0.4-6686687
What did I try:
I downgrade the Java version from 14 to 8 on Mac
Here are the Appium Desktop logs from MAC OS X:
[info] [35m[Appium][39m Welcome to Appium v1.18.0
[info] [35m[Appium][39m Non-default server args:
[info] [35m[Appium][39m relaxedSecurityEnabled: true
[info] [35m[Appium][39m allowInsecure: {
[info] [35m[Appium][39m }
[info] [35m[Appium][39m denyInsecure: {
[info] [35m[Appium][39m }
[info] [35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/sessions[39m
[info] [35m[HTTP][39m [90m{}[39m
[debug] [35m[GENERIC][39m Calling AppiumDriver.getSessions() with args: []
[debug] [35m[GENERIC][39m Responding to client with driver.getSessions() result: []
[info] [35m[HTTP][39m [37m<-- GET /wd/hub/sessions [39m[32m200[39m [90m7 ms - 40[39m
[info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m
[info] [35m[HTTP][39m [90m{"desiredCapabilities":{"automationName":"UiAutomator2","deviceName":"C16_Pro","ensureWebviewsHavePages":true,"noReset":"true","platformName":"Android","platformVersion":"9.0","systemPort":"4723","udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true}}[39m
[debug] [35m[MJSONWP][39m Calling AppiumDriver.createSession() with args: [{"automationName":"UiAutomator2","deviceName":"C16_Pro","ensureWebviewsHavePages":true,"noReset":"true","platformName":"Android","platformVersion":"9.0","systemPort":"4723","udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true},null,null]
[debug] [35m[BaseDriver][39m Event 'newSessionRequested' logged at 1602144486772 (10:08:06 GMT+0200 (Central European Summer Time))
[info] [35m[Appium][39m Appium v1.18.0 creating new AndroidUiautomator2Driver (v1.56.1) session
[info] [35m[Appium][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] [35m[BaseDriver][39m Creating session with MJSONWP desired capabilities: {
[debug] [35m[BaseDriver][39m "automationName": "UiAutomator2",
[debug] [35m[BaseDriver][39m "deviceName": "C16_Pro",
[debug] [35m[BaseDriver][39m "ensureWebviewsHavePages": true,
[debug] [35m[BaseDriver][39m "noReset": "true",
[debug] [35m[BaseDriver][39m "platformName": "Android",
[debug] [35m[BaseDriver][39m "platformVersion": "9.0",
[debug] [35m[BaseDriver][39m "systemPort": "4723",
[debug] [35m[BaseDriver][39m "udid": "OUKIC16PRO37851",
[debug] [35m[BaseDriver][39m "newCommandTimeout": 0,
[debug] [35m[BaseDriver][39m "connectHardwareKeyboard": true
[debug] [35m[BaseDriver][39m }
[warn] [35m[BaseDriver][39m Capability 'noReset' changed from string to boolean. This may cause unexpected behavior
[warn] [35m[BaseDriver][39m Capability 'systemPort' changed from string ('4723') to integer (4723). This may cause unexpected behavior
[warn] [35m[BaseDriver][39m The following capabilities were provided, but are not recognized by Appium:
[warn] [35m[BaseDriver][39m connectHardwareKeyboard
[info] [35m[BaseDriver][39m Session created with session id: 0521a505-d93c-4de5-9b1c-5d1ad9bf835b
[info] [35m[UiAutomator2][39m Neither 'app' nor 'appPackage' was set. Starting UiAutomator2 without the target application[info] [35m[ADB][39m Using 'adb' from '/Users/alisa/Android/cmdline-tools/latest/bin/adb'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 start-server'
[info] [35m[AndroidDriver][39m Retrieving device list
[debug] [35m[ADB][39m Trying to find a connected android device
[debug] [35m[ADB][39m Getting connected devices
[debug] [35m[ADB][39m Connected devices: [{"udid":"OUKIC16PRO37851","state":"device"}]
[info] [35m[AndroidDriver][39m Using device: OUKIC16PRO37851
[info] [35m[ADB][39m Using 'adb' from '/Users/alisa/Android/cmdline-tools/latest/bin/adb'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 start-server'
[debug] [35m[ADB][39m Setting device id to OUKIC16PRO37851
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell getprop ro.build.version.sdk'
[debug] [35m[ADB][39m Current device property 'ro.build.version.sdk': 28
[info] [35m[ADB][39m Getting device platform version
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell getprop ro.build.version.release'[debug] [35m[ADB][39m Current device property 'ro.build.version.release': 9
[debug] [35m[ADB][39m Device API level: 28
[info] [35m[UiAutomator2][39m Relaxing hidden api policy
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 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''[warn] [35m[AndroidDriver][39m No app sent in, not parsing package/activity
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 wait-for-device'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell echo ping'
[debug] [35m[AndroidDriver][39m Pushing settings apk to device...
[debug] [35m[ADB][39m Getting install status for io.appium.settings
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys package io.appium.settings'
[debug] [35m[ADB][39m 'io.appium.settings' is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.settings'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys package io.appium.settings'[debug] [35m[ADB][39m The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.2.0' >= '3.2.0')
[debug] [35m[ADB][39m There is no need to install/upgrade '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk'
[debug] [35m[ADB][39m Getting IDs of all 'io.appium.settings' processes
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell 'pgrep --help; echo $?''
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell pgrep -f io\\.appium\\.settings'
[debug] [35m[AndroidDriver][39m io.appium.settings is already running. There is no need to reset its permissions.
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell appops set io.appium.settings android\:mock_location allow'[debug] [35m[Logcat][39m Starting logs capture with command: /Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 logcat -v threadtime
[debug] [35m[UiAutomator2][39m Forwarding UiAutomator2 Server port 6790 to 4723
[debug] [35m[ADB][39m Forwarding system: 4723 to device: 6790
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 forward tcp\:4723 tcp\:6790'
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys package io.appium.uiautomator2.server'[debug] [35m[ADB][39m 'io.appium.uiautomator2.server' is installed
[debug] [35m[ADB][39m Getting package info for 'io.appium.uiautomator2.server'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys package io.appium.uiautomator2.server'
[debug] [35m[ADB][39m The installed 'io.appium.uiautomator2.server' package is older than '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.11.0.apk' (48 < 64 or '4.5.5' < '4.11.0')'
[debug] [35m[UiAutomator2][39m io.appium.uiautomator2.server installation state: olderVersionInstalled
[debug] [35m[ADB][39m Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.11.0.apk
[warn] [35m[ADB][39m Cannot use apksigner tool for signature verification. Original error: Could not find 'apksigner.jar' in ["/Users/alisa/Android/cmdline-tools/latest/bin/platform-tools/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/emulator/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/cmdline-tools/latest/bin/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/tools/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/tools/bin/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/apksigner.jar"]. Do you have Android Build Tools installed at '/Users/alisa/Android/cmdline-tools/latest/bin'?
[debug] [35m[ADB][39m Defaulting to verify.jar[debug] [35m[ADB][39m '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.11.0.apk' is signed with the default certificate
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server.test
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys package io.appium.uiautomator2.server.test'
[debug] [35m[ADB][39m 'io.appium.uiautomator2.server.test' is installed
[debug] [35m[ADB][39m Checking app cert for /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk
[warn] [35m[ADB][39m Cannot use apksigner tool for signature verification. Original error: Could not find 'apksigner.jar' in ["/Users/alisa/Android/cmdline-tools/latest/bin/platform-tools/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/emulator/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/cmdline-tools/latest/bin/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/tools/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/tools/bin/apksigner.jar","/Users/alisa/Android/cmdline-tools/latest/bin/apksigner.jar"]. Do you have Android Build Tools installed at '/Users/alisa/Android/cmdline-tools/latest/bin'?
[debug] [35m[ADB][39m Defaulting to verify.jar[debug] [35m[ADB][39m '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate
[info] [35m[UiAutomator2][39m Server packages are going to be (re)installed
[info] [35m[UiAutomator2][39m Full packages reinstall is going to be performed
[debug] [35m[ADB][39m Uninstalling io.appium.uiautomator2.server
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys package io.appium.uiautomator2.server'[debug] [35m[ADB][39m 'io.appium.uiautomator2.server' is installed
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell am force-stop io.appium.uiautomator2.server'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 uninstall io.appium.uiautomator2.server'[debug] [35m[ADB][39m 'adb uninstall io.appium.uiautomator2.server' command output: Success
[info] [35m[ADB][39m io.appium.uiautomator2.server was successfully uninstalled
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 version'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 features'
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 help'
[info] [35m[ADB][39m The application at '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.11.0.apk' will not be cached, because the device under test has confirmed the support of streamed installs
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 install -r /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.11.0.apk'[info] [35m[ADB][39m The installation of 'appium-uiautomator2-server-v4.11.0.apk' took 3055ms
[debug] [35m[ADB][39m Install command stdout: Performing Streamed Install
[debug] [35m[ADB][39m Success
[debug] [35m[ADB][39m Uninstalling io.appium.uiautomator2.server.test
[debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server.test
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys package io.appium.uiautomator2.server.test'[debug] [35m[ADB][39m 'io.appium.uiautomator2.server.test' is installed
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell am force-stop io.appium.uiautomator2.server.test'[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 uninstall io.appium.uiautomator2.server.test'[debug] [35m[ADB][39m 'adb uninstall io.appium.uiautomator2.server.test' command output: Success
[info] [35m[ADB][39m io.appium.uiautomator2.server.test was successfully uninstalled
[info] [35m[ADB][39m The application at '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' will not be cached, because the device under test has confirmed the support of streamed installs
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 install -r /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'[info] [35m[ADB][39m The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 1656ms
[debug] [35m[ADB][39m Install command stdout: Performing Streamed Install
[debug] [35m[ADB][39m Success
[debug] [35m[UiAutomator2][39m Waiting up to 30000ms for services to be available
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell pm list instrumentation'[debug] [35m[UiAutomator2][39m Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available
[debug] [35m[UiAutomator2][39m No app capability. Assuming it is already on the device
[debug] [35m[UiAutomator2][39m Performing shallow cleanup of automation leftovers
[debug] [35m[UiAutomator2][39m No obsolete sessions have been detected (socket hang up)
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell am force-stop io.appium.uiautomator2.server.test'[info] [35m[UiAutomator2][39m Starting UIAutomator2 server 4.11.0
[info] [35m[UiAutomator2][39m Using UIAutomator2 server from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.11.0.apk' and test from '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'
[info] [35m[UiAutomator2][39m Waiting up to 30000ms for UiAutomator2 to be online...
[debug] [35m[ADB][39m Creating ADB subprocess with args: ["-P",5037,"-s","OUKIC16PRO37851","shell","am","instrument","-w","io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"][debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:4723/wd/hub/status] with no body
[info] [35m[WD Proxy][39m socket hang up[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:4723/wd/hub/status] with no body
[info] [35m[WD Proxy][39m socket hang up[debug] [35m[Instrumentation][39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:4723/wd/hub/status] with no body
[info] [35m[WD Proxy][39m socket hang up[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:4723/wd/hub/status] with no body
[info] [35m[WD Proxy][39m socket hang up[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus'
[debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:4723/wd/hub/status] with no body[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
[debug] [35m[UiAutomator2][39m The initialization of the instrumentation process took 5338ms
[debug] [35m[WD Proxy][39m Matched '/session' to command name 'createSession'
[debug] [35m[WD Proxy][39m Proxying [POST /session] to [POST http://127.0.0.1:4723/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"automationName":"UiAutomator2","deviceName":"C16_Pro","ensureWebviewsHavePages":true,"noReset":true,"platformName":"Android","platformVersion":"9.0","systemPort":4723,"udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true},"automationName":"UiAutomator2","deviceName":"OUKIC16PRO37851","ensureWebviewsHavePages":true,"noReset":true,"platformName":"Android","platformVersion":"9.0","systemPort":4723,"udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"OUKIC16PRO37851"}],"alwaysMatch":{}}}[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"a0a5b2d1-af65-4fc7-9589-44f32961407b","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"automationName":"UiAutomator2","deviceName":"C16_Pro","ensureWebviewsHavePages":true,"noReset":true,"platformName":"Android","platformVersion":"9.0","systemPort":4723,"udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true},"automationName":"UiAutomator2","deviceName":"OUKIC16PRO37851","ensureWebviewsHavePages":true,"noReset":true,"platformName":"Android","platformVersion":"9.0","systemPort":4723,"udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"OUKIC16PRO37851"}],"alwaysMatch":{}},"sessionId":"a0a5b2d1-af65-4fc7-9589-44f32961407b"}}
[info] [35m[WD Proxy][39m Determined the downstream protocol as 'W3C'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:4723/wd/hub/session/a0a5b2d1-af65-4fc7-9589-44f32961407b/appium/device/info] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"a0a5b2d1-af65-4fc7-9589-44f32961407b","value":{"androidId":"56815c0cbc5fd473","apiVersion":"28","bluetooth":{"state":"ON"},"brand":"OUKITEL","carrierName":"F-Bouygues Telecom","displayDensity":320,"locale":"en_US","manufacturer":"OUKITEL","model":"C16_Pro","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":-57,"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,"networ...
[debug] [35m[ADB][39m Running '/Users/alisa/Android/cmdline-tools/latest/bin/adb -P 5037 -s OUKIC16PRO37851 shell dumpsys window'[info] [35m[AndroidDriver][39m Screen already unlocked, doing nothing
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:4723/wd/hub/session/a0a5b2d1-af65-4fc7-9589-44f32961407b/appium/device/pixel_ratio] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"a0a5b2d1-af65-4fc7-9589-44f32961407b","value":2}
[debug] [35m[WD Proxy][39m Matched '/appium/device/system_bars' to command name 'getSystemBars'
[debug] [35m[WD Proxy][39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:4723/wd/hub/session/a0a5b2d1-af65-4fc7-9589-44f32961407b/appium/device/system_bars] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"a0a5b2d1-af65-4fc7-9589-44f32961407b","value":{"statusBar":48}}
[debug] [35m[WD Proxy][39m Matched '/window/current/size' to command name 'getWindowSize'
[debug] [35m[WD Proxy][39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:4723/wd/hub/session/a0a5b2d1-af65-4fc7-9589-44f32961407b/window/current/size] with no body
[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"a0a5b2d1-af65-4fc7-9589-44f32961407b","value":{"height":1366,"width":720}}
[info] [35m[Appium][39m New AndroidUiautomator2Driver session created successfully, session 0521a505-d93c-4de5-9b1c-5d1ad9bf835b added to master session list
[debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1602144502980 (10:08:22 GMT+0200 (Central European Summer Time))
[debug] [35m[MJSONWP (0521a505)][39m Cached the protocol value 'MJSONWP' for the new session 0521a505-d93c-4de5-9b1c-5d1ad9bf835b
[debug] [35m[MJSONWP (0521a505)][39m Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"automationName":"UiAutomator2","deviceName":"C16_Pro","ensureWebviewsHavePages":true,"noReset":true,"platformName":"Android","platformVersion":"9.0","systemPort":4723,"udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true},"automationName":"UiAutomator2","deviceName":"OUKIC16PRO37851","ensureWebviewsHavePages":true,"noReset":true,"platformName":"Android","platformVersion":"9","systemPort":4723,"udid":"OUKIC16PRO37851","newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"OUKIC16PRO37851","deviceApiLevel":28,"deviceScreenSize":"720x1520","deviceScreenDensity":320,"deviceModel":"C16_Pro","deviceManufacturer":"OUKITEL","pixelRatio":2,"statBarHeight":48,"viewportRect":{"left":0,"top":48,"width":720,"height":1318}}
[info] [35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[32m200[39m [90m16212 ms - 1034[39m
[info] [35m[HTTP][39m [90m[39m
Does anyone can help me please?