Last login: Wed Jul 7 19:20:10 on ttys004 didi@bogon ~ % appium -p 4723 --relaxed-security [Appium] Welcome to Appium v1.21.0 [Appium] Non-default server args: [Appium] relaxedSecurityEnabled: true [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [HTTP] --> GET /wd/hub/sessions [HTTP] {} [debug] [GENERIC] Calling AppiumDriver.getSessions() with args: [] [debug] [GENERIC] Responding to client with driver.getSessions() result: [] [HTTP] <-- GET /wd/hub/sessions 200 6 ms - 40 [HTTP] [HTTP] --> POST /wd/hub/session [HTTP] {"capabilities":{"firstMatch":[{"appium:appActivity":".ui.MainActivity","appium:appPackage":"com.wujie.chengxin","appium:app_id":"com.wujie.chengxin","appium:udid":"88Y4C19929004742","appium:autoLaunch":false,"appium:automationName":"UiAutomator2","appium:deviceName":"88Y4C19929004742","appium:noReset":true,"platformName":"Android","appium:newCommandTimeout":1000,"appium:chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","appium:recreateChromeDriverSessions":"true","appium:systemPort":8927}]},"desiredCapabilities":{"appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"platformName":"Android","newCommandTimeout":1000,"chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","recreateChromeDriverSessions":"true","systemPort":8927}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"platformName":"Android","newCommandTimeout":1000,"chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","recreateChromeDriverSessions":"true","systemPort":8927},null,{"firstMatch":[{"appium:appActivity":".ui.MainActivity","appium:appPackage":"com.wujie.chengxin","appium:app_id":"com.wujie.chengxin","appium:udid":"88Y4C19929004742","appium:autoLaunch":false,"appium:automationName":"UiAutomator2","appium:deviceName":"88Y4C19929004742","appium:noReset":true,"platformName":"Android","appium:newCommandTimeout":1000,"appium:chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","appium:recreateChromeDriverSessions":"true","appium:systemPort":8927}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1625656950425 (19:22:30 GMT+0800 (GMT+08:00)) [Appium] Appium v1.21.0 creating new AndroidUiautomator2Driver (v1.65.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] "appium:appActivity": ".ui.MainActivity", [debug] [BaseDriver] "appium:appPackage": "com.wujie.chengxin", [debug] [BaseDriver] "appium:app_id": "com.wujie.chengxin", [debug] [BaseDriver] "appium:udid": "88Y4C19929004742", [debug] [BaseDriver] "appium:autoLaunch": false, [debug] [BaseDriver] "appium:automationName": "UiAutomator2", [debug] [BaseDriver] "appium:deviceName": "88Y4C19929004742", [debug] [BaseDriver] "appium:noReset": true, [debug] [BaseDriver] "appium:newCommandTimeout": 1000, [debug] [BaseDriver] "appium:chromedriverExecutable": "/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83", [debug] [BaseDriver] "appium:recreateChromeDriverSessions": "true", [debug] [BaseDriver] "appium:systemPort": 8927 [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] The following capabilities were provided, but are not recognized by Appium: [BaseDriver] app_id [BaseDriver] Session created with session id: f8521aa4-4503-48a4-9545-3dbeabd50f01 [UiAutomator2] Starting 'com.wujie.chengxin' directly on the device [ADB] Found 3 'build-tools' folders under '/Users/didi/android-sdk-macosx' (newest first): [ADB] /Users/didi/android-sdk-macosx/build-tools/29.0.3 [ADB] /Users/didi/android-sdk-macosx/build-tools/29.0.2 [ADB] /Users/didi/android-sdk-macosx/build-tools/28.0.3 [ADB] Using 'adb' from '/Users/didi/android-sdk-macosx/platform-tools/adb' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/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":"88Y4C19929004742","state":"device"}] [AndroidDriver] Using device: 88Y4C19929004742 [ADB] Using 'adb' from '/Users/didi/android-sdk-macosx/platform-tools/adb' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 start-server' [debug] [ADB] Setting device id to 88Y4C19929004742 [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell getprop ro.build.version.sdk' [debug] [ADB] Current device property 'ro.build.version.sdk': 29 [ADB] Getting device platform version [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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 '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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 '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 wait-for-device' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell echo ping' [debug] [AndroidDriver] Pushing settings apk to device... [debug] [ADB] Getting install status for io.appium.settings [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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 '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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.3.0' >= '3.3.0') [debug] [ADB] There is no need to install/upgrade '/usr/local/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 '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell 'pgrep --help; echo $?'' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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 '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell appops set io.appium.settings android:mock_location allow' [debug] [Logcat] Starting logs capture with command: /Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 logcat -v threadtime [debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to local port 8927 [debug] [ADB] Forwarding system: 8927 to device: 6790 [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward tcp:8927 tcp:6790' [debug] [ADB] Getting install status for io.appium.uiautomator2.server [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell dumpsys package io.appium.uiautomator2.server' [debug] [ADB] 'io.appium.uiautomator2.server' is installed [debug] [ADB] Getting package info for 'io.appium.uiautomator2.server' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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.21.1' >= '4.21.1') [debug] [UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [ADB] Checking app cert for /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.21.1.apk [ADB] Using 'apksigner.jar' from '/Users/didi/android-sdk-macosx/build-tools/29.0.3/lib/apksigner.jar' [debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/didi/android-sdk-macosx/build-tools/29.0.3/lib/apksigner.jar verify --print-certs /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.21.1.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-v4.21.1.apk' [ADB] '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.21.1.apk' is signed with the default certificate [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [ADB] 'io.appium.uiautomator2.server.test' is installed [debug] [ADB] Checking app cert for /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] Starting apksigner: /Library/Java/JavaVirtualMachines/jdk1.8.0_291.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/didi/android-sdk-macosx/build-tools/29.0.3/lib/apksigner.jar verify --print-certs /usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk [debug] [ADB] apksigner stdout: Signer #1 certificate DN: EMAILADDRESS=android@android.com, CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [ADB] Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [ADB] Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [ADB] Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [ADB] [debug] [ADB] sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [ADB] '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [UiAutomator2] Server packages are not going to be (re)installed [debug] [UiAutomator2] Waiting up to 30000ms for services to be available [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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 '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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: [null] [debug] [UiAutomator2] Cleaning up the obsolete sessions [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell am force-stop io.appium.uiautomator2.server.test' [UiAutomator2] Starting UIAutomator2 server 4.21.1 [UiAutomator2] Using UIAutomator2 server from '/usr/local/lib/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.21.1.apk' and test from '/usr/local/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","88Y4C19929004742","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:8927/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:8927/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:8927/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 2106ms [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8927/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","appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"newCommandTimeout":1000,"chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","recreateChromeDriverSessions":"true","systemPort":8927},"platformName":"Android","appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"newCommandTimeout":1000,"chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","recr... [debug] [WD Proxy] Got response with status 200: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"newCommandTimeout":1000,"chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","recreateChromeDriverSessions":"true","systemPort":8927},"platformName":"Android","appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"newCommandTimeout":1000,"chromedriverExecutable":"/Users/di... [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/appium/device/info] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"androidId":"f446f6bddc9252d2","apiVersion":"29","bluetooth":{"state":"ON"},"brand":"HUAWEI","carrierName":"","displayDensity":480,"locale":"zh_CN_#Hans","manufacturer":"HUAWEI","model":"TAS-AL00","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":-40,"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":"1080x2340","timeZone":"Asia/Shanghai"}} [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/appium/device/pixel_ratio] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":3} [debug] [WD Proxy] Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [WD Proxy] Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/appium/device/system_bars] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"statusBar":81}} [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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"height":2259,"width":1080}} [Appium] New AndroidUiautomator2Driver session created successfully, session f8521aa4-4503-48a4-9545-3dbeabd50f01 added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1625656955936 (19:22:35 GMT+0800 (GMT+08:00)) [debug] [W3C (f8521aa4)] Cached the protocol value 'W3C' for the new session f8521aa4-4503-48a4-9545-3dbeabd50f01 [debug] [W3C (f8521aa4)] 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","appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"newCommandTimeout":1000,"chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","recreateChromeDriverSessions":"true","systemPort":8927},"platformName":"Android","appActivity":".ui.MainActivity","appPackage":"com.wujie.chengxin","app_id":"com.wujie.chengxin","udid":"88Y4C19929004742","autoLaunch":false,"automationName":"UiAutomator2","deviceName":"88Y4C19929004742","noReset":true,"newCommandTimeout":1000,"chromedriverExecutable":"/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83","recreateChromeDrive... [HTTP] <-- POST /wd/hub/session 200 5513 ms - 1402 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/rect [HTTP] {} [debug] [W3C (f8521aa4)] Calling AppiumDriver.getWindowRect() with args: ["f8521aa4-4503-48a4-9545-3dbeabd50f01"] [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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"height":2259,"width":1080}} [debug] [W3C (f8521aa4)] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2259,"x":0,"y":0} [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/rect 200 19 ms - 50 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/rect [HTTP] {} [debug] [W3C (f8521aa4)] Calling AppiumDriver.getWindowRect() with args: ["f8521aa4-4503-48a4-9545-3dbeabd50f01"] [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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/window/current/size] with no body [debug] [WD Proxy] Got response with status 200: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"height":2259,"width":1080}} [debug] [W3C (f8521aa4)] Responding to client with driver.getWindowRect() result: {"width":1080,"height":2259,"x":0,"y":0} [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/rect 200 12 ms - 50 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/execute/sync [HTTP] {"script":"mobile: shell","args":[{"command":"pgrep","args":["-f","-o","com.wujie.chengxin"],"includeStderr":true,"timeout":5000}]} [debug] [W3C (f8521aa4)] Calling AppiumDriver.execute() with args: ["mobile: shell",[{"command":"pgrep","args":["-f","-o","com.wujie.chengxin"],"includeStderr":true,"timeout":5000}],"f8521aa4-4503-48a4-9545-3dbeabd50f01"] [AndroidDriver] Executing native command 'mobile: shell' [debug] [AndroidDriver] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell pgrep -f -o com.wujie.chengxin' [debug] [W3C (f8521aa4)] Responding to client with driver.execute() result: {"stdout":"1780\n","stderr":""} [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/execute/sync 200 77 ms - 41 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles [HTTP] {} [W3C (f8521aa4)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles' to command name 'getWindowHandles' [debug] [Protocol Converter] Did not know how to rewrite the original URL '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles' for W3C protocol [debug] [WD Proxy] Proxying [GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles] to [GET http://127.0.0.1:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/window/handles] with no body [WD Proxy] Got response with status 404: {"sessionId":null,"value":{"error":"unknown command","message":"The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource","stacktrace":"io.appium.uiautomator2.common.exceptions.UnknownCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:75)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandler... [debug] [W3C] Matched W3C error code 'unknown command' to UnknownCommandError [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles 404 42 ms - 3529 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 150 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 1165 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 496 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 1313 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 450 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 407 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 468 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 455 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 521 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 518 ms - 460 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/contexts [HTTP] {} [debug] [W3C (f8521aa4)] Calling AppiumDriver.getContexts() with args: ["f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell cat /proc/net/unix' [debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_1780"] [AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on [debug] [AndroidDriver] Collecting CDP data of 1 webview [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward tcp:10900 localabstract:webview_devtools_remote_1780' [debug] [ADB] Removing forwarded port socket connection: 10900 [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward --remove tcp:10900' [debug] [AndroidDriver] CDP data collection completed [debug] [AndroidDriver] WEBVIEW_1780 mapped to pid 1780 [debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_1780' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell ps --help' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell ps -A' [debug] [AndroidDriver] Got process name: 'com.wujie.chengxin' [debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.wujie.chengxin"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.wujie.chengxin"] [debug] [W3C (f8521aa4)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.wujie.chengxin"] [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/contexts 200 183 ms - 53 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles [HTTP] {} [W3C (f8521aa4)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles' to command name 'getWindowHandles' [debug] [Protocol Converter] Did not know how to rewrite the original URL '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles' for W3C protocol [debug] [WD Proxy] Proxying [GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles] to [GET http://127.0.0.1:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/window/handles] with no body [WD Proxy] Got response with status 404: {"sessionId":null,"value":{"error":"unknown command","message":"The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource","stacktrace":"io.appium.uiautomator2.common.exceptions.UnknownCommandException: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:75)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)\n\tat io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)\n\tat io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandler... [debug] [W3C] Matched W3C error code 'unknown command' to UnknownCommandError [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles 404 15 ms - 3529 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/contexts [HTTP] {} [debug] [W3C (f8521aa4)] Calling AppiumDriver.getContexts() with args: ["f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell cat /proc/net/unix' [debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_1780"] [AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on [debug] [AndroidDriver] Collecting CDP data of 1 webview [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward tcp:10900 localabstract:webview_devtools_remote_1780' [debug] [ADB] Removing forwarded port socket connection: 10900 [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward --remove tcp:10900' [debug] [AndroidDriver] CDP data collection completed [debug] [AndroidDriver] WEBVIEW_1780 mapped to pid 1780 [debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_1780' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell ps -A' [debug] [AndroidDriver] Got process name: 'com.wujie.chengxin' [debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.wujie.chengxin"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.wujie.chengxin"] [debug] [W3C (f8521aa4)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.wujie.chengxin"] [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/contexts 200 148 ms - 53 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 272 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 330 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 431 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 571 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 453 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 489 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 569 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 364 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 633 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 432 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element [HTTP] {"using":"xpath","value":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.findElement() with args: ["xpath","/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [BaseDriver] Waiting up to 0 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:8927/wd/hub/session/623b9872-7782-40bb-a6ed-c342c08f443c/element] with body: {"strategy":"xpath","selector":"/html/body/dd-view/dd-view[2]/dd-custom-tab-bar/dd-view/dd-view[2]","context":"","multiple":false} [WD Proxy] Got response with status 404: {"sessionId":"623b9872-7782-40bb-a6ed-c342c08f443c","value":{"error":"no such element","message":"An element could not be located on the page using the given search parameters","stacktrace":"io.appium.uiautomator2.common.exceptions.ElementNotFoundException: An element could not be located on the page using the given search parameters\n\tat io.appium.uiautomator2.handler.FindElement.findElement(FindElement.java:89)\n\tat io.appium.uiautomator2.handler.FindElement.safeHandle(FindElement.java:66)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:41)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:262)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:256)\n\tat io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)\n\tat io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)\n\tat io.netty.channel.AbstractChannelHandlerCont... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (f8521aa4)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (f8521aa4)] at AndroidUiautomator2Driver.findElOrEls (/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/lib/commands/find.js:75:11) [debug] [W3C (f8521aa4)] at processTicksAndRejections (internal/process/task_queues.js:85:5) [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/element 404 489 ms - 460 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/appium/app/launch [HTTP] {} [debug] [W3C (f8521aa4)] Calling AppiumDriver.launchApp() with args: ["f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [UiAutomator2] No app capability. Assuming it is already on the device [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell am start -W -n com.wujie.chengxin/.ui.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' [debug] [W3C (f8521aa4)] Responding to client with driver.launchApp() result: null [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/appium/app/launch 200 944 ms - 14 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/contexts [HTTP] {} [debug] [W3C (f8521aa4)] Calling AppiumDriver.getContexts() with args: ["f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell cat /proc/net/unix' [debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7776"] [AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on [debug] [AndroidDriver] Collecting CDP data of 1 webview [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward tcp:10900 localabstract:webview_devtools_remote_7776' [debug] [ADB] Removing forwarded port socket connection: 10900 [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward --remove tcp:10900' [debug] [AndroidDriver] CDP data collection completed [debug] [AndroidDriver] WEBVIEW_7776 mapped to pid 7776 [debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7776' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell ps -A' [debug] [AndroidDriver] Got process name: 'com.wujie.chengxin' [debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.wujie.chengxin"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.wujie.chengxin"] [debug] [W3C (f8521aa4)] Responding to client with driver.getContexts() result: ["NATIVE_APP","WEBVIEW_com.wujie.chengxin"] [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/contexts 200 155 ms - 53 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/context [HTTP] {"name":"WEBVIEW_com.wujie.chengxin"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.setContext() with args: ["WEBVIEW_com.wujie.chengxin","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [AndroidDriver] Getting a list of available webviews [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell cat /proc/net/unix' [debug] [AndroidDriver] Parsed 1 active devtools socket: ["@webview_devtools_remote_7776"] [AndroidDriver] Not collecting web view details. Details collection might help to make Chromedriver initialization more precise. Use the 'enableWebviewDetailsCollection' cap to turn it on [debug] [AndroidDriver] Collecting CDP data of 1 webview [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward tcp:10900 localabstract:webview_devtools_remote_7776' [debug] [ADB] Removing forwarded port socket connection: 10900 [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward --remove tcp:10900' [debug] [AndroidDriver] CDP data collection completed [debug] [AndroidDriver] WEBVIEW_7776 mapped to pid 7776 [debug] [AndroidDriver] Getting process name for webview 'WEBVIEW_7776' [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell ps -A' [debug] [AndroidDriver] Got process name: 'com.wujie.chengxin' [debug] [AndroidDriver] Found 1 webview: ["WEBVIEW_com.wujie.chengxin"] [debug] [AndroidDriver] Available contexts: ["NATIVE_APP","WEBVIEW_com.wujie.chengxin"] [debug] [AndroidDriver] Connecting to chrome-backed webview context 'WEBVIEW_com.wujie.chengxin' [debug] [AndroidDriver] A port was not given, using random free port: 8000 [debug] [AndroidDriver] Passing web view details to the Chromedriver constructor: { [debug] [AndroidDriver] "process": { [debug] [AndroidDriver] "name": "com.wujie.chengxin", [debug] [AndroidDriver] "id": "7776" [debug] [AndroidDriver] } [debug] [AndroidDriver] } [debug] [AndroidDriver] Precalculated Chromedriver capabilities: { [debug] [AndroidDriver] "androidPackage": "com.wujie.chengxin", [debug] [AndroidDriver] "androidUseRunningApp": true, [debug] [AndroidDriver] "androidDeviceSerial": "88Y4C19929004742", [debug] [AndroidDriver] "androidProcess": "com.wujie.chengxin" [debug] [AndroidDriver] } [debug] [AndroidDriver] Before starting chromedriver, androidPackage is 'com.wujie.chengxin' [debug] [Chromedriver] Changed state to 'starting' [Chromedriver] Set chromedriver binary as: /Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83 [debug] [Chromedriver] Killing any old chromedrivers, running: pkill -15 -f "/Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83.*--port=8000" [Chromedriver] No old chromedrivers seem to exist [debug] [Chromedriver] Cleaning this device's adb forwarded port socket connections: 88Y4C19929004742 [debug] [ADB] List forwarding ports [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward --list' [debug] [ADB] Removing forwarded port socket connection: 53112 [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 forward --remove tcp:53112' [Chromedriver] Spawning chromedriver with: /Users/didi/PycharmProjects/cx_page_test/tools/chromedriver-83 --url-base=wd/hub --port=8000 --adb-port=5037 --verbose [debug] [Chromedriver] Chromedriver version: '83.0.4103.39' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8000/wd/hub/status] with no body [debug] [WD Proxy] Got response with status 200: {"value":{"build":{"version":"83.0.4103.39 (ccbf011cb2d2b19b506d844400483861342c20cd-refs/branch-heads/4103@{#416})"},"message":"ChromeDriver ready for new sessions.","os":{"arch":"x86_64","name":"Mac OS X","version":"10.16.0"},"ready":true}} [Chromedriver] Starting W3C Chromedriver session with capabilities: { [Chromedriver] "capabilities": { [Chromedriver] "alwaysMatch": { [Chromedriver] "goog:chromeOptions": { [Chromedriver] "androidPackage": "com.wujie.chengxin", [Chromedriver] "androidUseRunningApp": true, [Chromedriver] "androidDeviceSerial": "88Y4C19929004742", [Chromedriver] "androidProcess": "com.wujie.chengxin" [Chromedriver] }, [Chromedriver] "goog:loggingPrefs": { [Chromedriver] "browser": "ALL" [Chromedriver] } [Chromedriver] } [Chromedriver] } [Chromedriver] } [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8000/wd/hub/session] with body: {"capabilities":{"alwaysMatch":{"goog:chromeOptions":{"androidPackage":"com.wujie.chengxin","androidUseRunningApp":true,"androidDeviceSerial":"88Y4C19929004742","androidProcess":"com.wujie.chengxin"},"goog:loggingPrefs":{"browser":"ALL"}}}} [debug] [Chromedriver] Webview version: 'Chrome/83.0.4103.106' [debug] [WD Proxy] Got response with status 200: {"value":{"capabilities":{"acceptInsecureCerts":false,"browserName":"chrome","browserVersion":"83.0.4103.106","chrome":{"chromedriverVersion":"83.0.4103.39 (ccbf011cb2d2b19b506d844400483861342c20cd-refs/branch-heads/4103@{#416})"},"goog:chromeOptions":{"debuggerAddress":"localhost:58401"},"pageLoadStrategy":"normal","platformName":"android","proxy":{},"setWindowRect":false,"strictFileInteractability":false,"timeouts":{"implicit":0,"pageLoad":300000,"script":30000},"unhandledPromptBehavior":"dismiss and notify","webauthn:virtualAuthenticators":false},"sessionId":"4c554f509c3b90a143db37c1ed646bb9"}} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [Chromedriver] Changed state to 'online' [debug] [W3C (f8521aa4)] Responding to client with driver.setContext() result: null [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/context 200 400 ms - 14 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/appium/device/is_locked [HTTP] {} [debug] [W3C (f8521aa4)] Calling AppiumDriver.isLocked() with args: ["f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [ADB] Running '/Users/didi/android-sdk-macosx/platform-tools/adb -P 5037 -s 88Y4C19929004742 shell dumpsys window' [debug] [W3C (f8521aa4)] Responding to client with driver.isLocked() result: false [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/appium/device/is_locked 200 87 ms - 15 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/log [HTTP] {"type":"browser"} [debug] [W3C (f8521aa4)] Calling AppiumDriver.getLog() with args: ["browser","f8521aa4-4503-48a4-9545-3dbeabd50f01"] [debug] [WD Proxy] Matched '/log' to command name 'getLog' [debug] [WD Proxy] Proxying [POST /log] to [POST http://127.0.0.1:8000/wd/hub/session/4c554f509c3b90a143db37c1ed646bb9/log] with body: {"type":"browser"} [debug] [WD Proxy] Got response with status 200: {"value":[{"level":"DEBUG","message":"file:///data/user/0/com.wujie.chengxin/files/dm_bundles/923777/1.3.1/DIMINA_JSSDK/dev/dm-webview.js 71:369309 \"[Primary performance] dm-webview.js: 20.105712890625ms\"","source":"console-api","timestamp":1625656988042},{"level":"INFO","message":"file:///data/user/0/com.wujie.chengxin/files/dm_bundles/923777/1.3.1/DIMINA_JSSDK/dev/page-frame.html 24:10 \"[timetigger]:[1625656986373] invokeWebViewReady 发送\"","source":"console-api","timestamp":1625656988042},{"level":"INFO","message":"file:///data/user/0/com.wujie.chengxin/files/dm_bundles/923777/1.3.1/DIMINA_JSSDK/dev/page-frame.html 36:10 \"[timetigger]:[1625656986376] page-frame.html 加载完毕\"","source":"console-api","timestamp":1625656988042}]} [debug] [W3C (f8521aa4)] Responding to client with driver.getLog() result: [{"level":"DEBUG","message":"file:///data/user/0/com.wujie.chengxin/files/dm_bundles/923777/1.3.1/DIMINA_JSSDK/dev/dm-webview.js 71:369309 \"[Primary performance] dm-webview.js: 20.105712890625ms\"","source":"console-api","timestamp":1625656988042},{"level":"INFO","message":"file:///data/user/0/com.wujie.chengxin/files/dm_bundles/923777/1.3.1/DIMINA_JSSDK/dev/page-frame.html 24:10 \"[timetigger]:[1625656986373] invokeWebViewReady 发送\"","source":"console-api","timestamp":1625656988042},{"level":"INFO","message":"file:///data/user/0/com.wujie.chengxin/files/dm_bundles/923777/1.3.1/DIMINA_JSSDK/dev/page-frame.html 36:10 \"[timetigger]:[1625656986376] page-frame.html 加载完毕\"","source":"console-api","timestamp":1625656988042}] [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/log 200 391 ms - 752 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles [HTTP] {} [W3C (f8521aa4)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles' to command name 'getWindowHandles' [debug] [Protocol Converter] Did not know how to rewrite the original URL '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles' for W3C protocol [debug] [WD Proxy] Proxying [GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles] to [GET http://127.0.0.1:8000/wd/hub/session/4c554f509c3b90a143db37c1ed646bb9/window/handles] with no body [debug] [WD Proxy] Got response with status 200: {"value":["CDwindow-1E48211716016773DDA2BEEBD103780A","CDwindow-687BD480B4C00DA3576449DD9E483D5E","CDwindow-BB26CE513D8453D970D5EBE573BF28DE"]} [HTTP] <-- GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window/handles 200 8 ms - 143 [HTTP] [HTTP] --> POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window [HTTP] {"handle":"CDwindow-687BD480B4C00DA3576449DD9E483D5E"} [W3C (f8521aa4)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window' to command name 'setWindow' [debug] [WD Proxy] Proxying [POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window] to [POST http://127.0.0.1:8000/wd/hub/session/4c554f509c3b90a143db37c1ed646bb9/window] with body: {"handle":"CDwindow-687BD480B4C00DA3576449DD9E483D5E"} [debug] [WD Proxy] Got response with status 200: {"value":null} [HTTP] <-- POST /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/window 200 11 ms - 14 [HTTP] [HTTP] --> GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/source [HTTP] {} [W3C (f8521aa4)] Driver proxy active, passing request on via HTTP proxy [debug] [WD Proxy] Matched '/wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/source' to command name 'getPageSource' [debug] [WD Proxy] Proxying [GET /wd/hub/session/f8521aa4-4503-48a4-9545-3dbeabd50f01/source] to [GET http://127.0.0.1:8000/wd/hub/session/4c554f509c3b90a143db37c1ed646bb9/source] with no body [debug] [WD Proxy] Got response with status 200: {"value":"