appium-uiautomator2-server icon indicating copy to clipboard operation
appium-uiautomator2-server copied to clipboard

Xpath2 is not working on appium

Open omarmunir opened this issue 2 years ago • 9 comments

An unknown server-side error occurred while processing the command. Original error: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType Screen Shot 2022-06-20 at 1 59 27 PM

omarmunir avatar Jun 20 '22 11:06 omarmunir

[info] [35m[Appium][39m Welcome to Appium v1.22.3 [info] [35m[Appium][39m Non-default server args: [info] [35m[Appium][39m relaxedSecurityEnabled: true [info] [35m[Appium][39m allowInsecure: { [info] [35m[Appium][39m } [info] [35m[Appium][39m denyInsecure: { [info] [35m[Appium][39m } [info] [35m[Appium][39m Appium REST http interface listener started on 0.0.0.0:4723[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session[39m [info] [35m[HTTP][39m [90m{"capabilities":{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"11","appium:deviceName":"emulator-5556 (sdk_gphone_x86 - Android 11)","appium:automationName":"uiautomator2","appium:app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","appium:udid":"emulator-5554","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":0,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"Android","appium:platformVersion":"11","appium:deviceName":"emulator-5556 (sdk_gphone_x86 - Android 11)","appium:automationName":"uiautomator2","appium:app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","appium:udid":"emulator-5554","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":0,"appium:connectHardwareKeyboard":true}}[39m [debug] [35m[W3C][39m Calling AppiumDriver.createSession() with args: [{"platformName":"Android","appium:platformVersion":"11","appium:deviceName":"emulator-5556 (sdk_gphone_x86 - Android 11)","appium:automationName":"uiautomator2","appium:app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","appium:udid":"emulator-5554","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":0,"appium:connectHardwareKeyboard":true},null,{"alwaysMatch":{"platformName":"Android","appium:platformVersion":"11","appium:deviceName":"emulator-5556 (sdk_gphone_x86 - Android 11)","appium:automationName":"uiautomator2","appium:app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","appium:udid":"emulator-5554","appium:ensureWebviewsHavePages":true,"appium:nativeWebScreenshot":true,"appium:newCommandTimeout":0,"appium:connectHardwareKeyboard":true},"firstMatch":[{}]}] [debug] [35m[BaseDriver][39m Event 'newSessionRequested' logged at 1655722583575 (13:56:23 GMT+0300 (Eastern European Summer Time)) [info] [35m[Appium][39m Appium v1.22.3 creating new AndroidUiautomator2Driver (v1.70.1) session [info] [35m[Appium][39m Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure [debug] [35m[BaseDriver][39m W3C capabilities and MJSONWP desired capabilities were provided [debug] [35m[BaseDriver][39m Creating session with W3C capabilities: { [debug] [35m[BaseDriver][39m "alwaysMatch": { [debug] [35m[BaseDriver][39m "platformName": "Android", [debug] [35m[BaseDriver][39m "appium:platformVersion": "11", [debug] [35m[BaseDriver][39m "appium:deviceName": "emulator-5556 (sdk_gphone_x86 - Android 11)", [debug] [35m[BaseDriver][39m "appium:automationName": "uiautomator2", [debug] [35m[BaseDriver][39m "appium:app": "/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk", [debug] [35m[BaseDriver][39m "appium:udid": "emulator-5554", [debug] [35m[BaseDriver][39m "appium:ensureWebviewsHavePages": true, [debug] [35m[BaseDriver][39m "appium:nativeWebScreenshot": true, [debug] [35m[BaseDriver][39m "appium:newCommandTimeout": 0, [debug] [35m[BaseDriver][39m "appium:connectHardwareKeyboard": true [debug] [35m[BaseDriver][39m }, [debug] [35m[BaseDriver][39m "firstMatch": [ [debug] [35m[BaseDriver][39m {} [debug] [35m[BaseDriver][39m ] [debug] [35m[BaseDriver][39m } [warn] [35m[BaseDriver][39m The following capabilities were provided, but are not recognized by Appium: [warn] [35m[BaseDriver][39m connectHardwareKeyboard [info] [35m[BaseDriver][39m Session created with session id: 96b47f59-b13a-4b1f-aede-27d7ec568ef1[info] [35m[BaseDriver][39m Using local app '/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk' [debug] [35m[UiAutomator2][39m Checking whether app is actually present [info] [35m[ADB][39m Found 2 'build-tools' folders under '/Users/mohammadsalem/Library/Android/sdk' (newest first): [info] [35m[ADB][39m /Users/mohammadsalem/Library/Android/sdk/build-tools/33.0.0 [info] [35m[ADB][39m /Users/mohammadsalem/Library/Android/sdk/build-tools/30.0.3 [info] [35m[ADB][39m Using 'adb' from '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 start-server' [info] [35m[AndroidDriver][39m Retrieving device list [debug] [35m[ADB][39m Trying to find a connected android device [debug] [35m[ADB][39m Getting connected devices [debug] [35m[ADB][39m Connected devices: [{"udid":"emulator-5554","state":"device"}] [info] [35m[AndroidDriver][39m Using device: emulator-5554 [info] [35m[ADB][39m Using 'adb' from '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 start-server' [debug] [35m[ADB][39m Setting device id to emulator-5554 [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.sdk' [debug] [35m[ADB][39m Current device property 'ro.build.version.sdk': 30 [info] [35m[ADB][39m Getting device platform version [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell getprop ro.build.version.release' [debug] [35m[ADB][39m Current device property 'ro.build.version.release': 11 [debug] [35m[ADB][39m Device API level: 30 [info] [35m[UiAutomator2][39m Relaxing hidden api policy [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings put global hidden_api_policy_pre_p_apps 1;settings put global hidden_api_policy_p_apps 1;settings put global hidden_api_policy 1'' [debug] [35m[AndroidDriver][39m Parsing package and activity from app manifest[info] [35m[ADB][39m Package name: 'com.arabbank.arabimobilev2' [info] [35m[ADB][39m Main activity name: 'com.finanteq.finance.arabbank.ui.splash.SplashActivity' [debug] [35m[AndroidDriver][39m Parsed package and activity are: com.arabbank.arabimobilev2/com.finanteq.finance.arabbank.ui.splash.SplashActivity [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 wait-for-device' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell echo ping' [debug] [35m[AndroidDriver][39m Pushing settings apk to device... [debug] [35m[ADB][39m Getting install status for io.appium.settings [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings' [debug] [35m[ADB][39m 'io.appium.settings' is installed [debug] [35m[ADB][39m Getting package info for 'io.appium.settings' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.settings' [debug] [35m[ADB][39m The version name of the installed 'io.appium.settings' is greater or equal to the application version name ('3.4.0' >= '3.4.0') [debug] [35m[ADB][39m There is no need to install/upgrade '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/io.appium.settings/apks/settings_apk-debug.apk' [debug] [35m[ADB][39m Getting IDs of all 'io.appium.settings' processes [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'pgrep --help; echo $?'' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pgrep -f ([[:blank:]]|^)io.appium.settings([[:blank:]]|$)' [debug] [35m[AndroidDriver][39m io.appium.settings is already running. There is no need to reset its permissions. [debug] [35m[Logcat][39m Starting logs capture with command: /Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 logcat -v threadtime[debug] [35m[UiAutomator2][39m Forwarding UiAutomator2 Server port 6790 to local port 8201 [debug] [35m[ADB][39m Forwarding system: 8201 to device: 6790 [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 forward tcp:8201 tcp:6790' [debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server' [debug] [35m[ADB][39m 'io.appium.uiautomator2.server' is installed [debug] [35m[ADB][39m Getting package info for 'io.appium.uiautomator2.server' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server'[debug] [35m[ADB][39m The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.27.0' >= '4.27.0') [debug] [35m[UiAutomator2][39m io.appium.uiautomator2.server installation state: sameVersionInstalled [debug] [35m[ADB][39m Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk [info] [35m[ADB][39m Using 'apksigner.jar' from '/Users/mohammadsalem/Library/Android/sdk/build-tools/33.0.0/lib/apksigner.jar' [debug] [35m[ADB][39m Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-18.0.1.1.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/mohammadsalem/Library/Android/sdk/build-tools/33.0.0/lib/apksigner.jar verify --print-certs '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk'[debug] [35m[ADB][39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [35m[ADB][39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [35m[ADB][39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [35m[ADB][39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [35m[ADB][39m [debug] [35m[ADB][39m sha256 hash did match for 'appium-uiautomator2-server-v4.27.0.apk' [info] [35m[ADB][39m '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' is signed with the default certificate [debug] [35m[ADB][39m Getting install status for io.appium.uiautomator2.server.test [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package io.appium.uiautomator2.server.test' [debug] [35m[ADB][39m 'io.appium.uiautomator2.server.test' is installed [debug] [35m[ADB][39m Checking app cert for /Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk [debug] [35m[ADB][39m Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-18.0.1.1.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/mohammadsalem/Library/Android/sdk/build-tools/33.0.0/lib/apksigner.jar verify --print-certs '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk'[debug] [35m[ADB][39m apksigner stdout: Signer #1 certificate DN: [email protected], CN=Android, OU=Android, O=Android, L=Mountain View, ST=California, C=US [debug] [35m[ADB][39m Signer #1 certificate SHA-256 digest: a40da80a59d170caa950cf15c18c454d47a39b26989d8b640ecd745ba71bf5dc [debug] [35m[ADB][39m Signer #1 certificate SHA-1 digest: 61ed377e85d386a8dfee6b864bd85b0bfaa5af81 [debug] [35m[ADB][39m Signer #1 certificate MD5 digest: e89b158e4bcf988ebd09eb83f5378e87 [debug] [35m[ADB][39m [debug] [35m[ADB][39m sha256 hash did match for 'appium-uiautomator2-server-debug-androidTest.apk' [info] [35m[ADB][39m '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate [info] [35m[UiAutomator2][39m Server packages are not going to be (re)installed [debug] [35m[UiAutomator2][39m Waiting up to 30000ms for services to be available [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm list instrumentation'[debug] [35m[UiAutomator2][39m Instrumentation target 'io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner' is available [info] [35m[ADB][39m Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist [debug] [35m[ADB][39m 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] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server ; dumpsys deviceidle whitelist +io.appium.uiautomator2.server.test ;' [debug] [35m[ADB][39m Checking app cert for /Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk[debug] [35m[ADB][39m Starting apksigner: /Library/Java/JavaVirtualMachines/jdk-18.0.1.1.jdk/Contents/Home/bin/java -Xmx1024M -Xss1m -jar /Users/mohammadsalem/Library/Android/sdk/build-tools/33.0.0/lib/apksigner.jar verify --print-certs '/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk'[debug] [35m[ADB][39m apksigner stdout: Signer #1 certificate DN: CN=Unknown, OU=Unknown, O=Arab Bank, L=Unknown, ST=Unknown, C=JO [debug] [35m[ADB][39m Signer #1 certificate SHA-256 digest: 4145461525665e4ed7e649fdc4dedda8d18916166c66bf250516c6d9b210f1d4 [debug] [35m[ADB][39m Signer #1 certificate SHA-1 digest: 218327a5270cb531f0e1e11640be10393a7084d3 [debug] [35m[ADB][39m Signer #1 certificate MD5 digest: 39aeb9e1844f3a738a75e5f9d6fc81bd [debug] [35m[ADB][39m [info] [35m[ADB][39m '/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk' is signed with a non-default certificate [debug] [35m[ADB][39m Getting install status for com.arabbank.arabimobilev2 [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.arabbank.arabimobilev2'[debug] [35m[ADB][39m 'com.arabbank.arabimobilev2' is installed [debug] [35m[ADB][39m Getting package info for 'com.arabbank.arabimobilev2' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.arabbank.arabimobilev2' [debug] [35m[ADB][39m The version name of the installed 'com.arabbank.arabimobilev2' is greater or equal to the application version name ('2.4.2' >= '2.4.2') [debug] [35m[ADB][39m There is no need to install/upgrade '/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk' [info] [35m[AndroidDriver][39m Performing fast reset on 'com.arabbank.arabimobilev2' [debug] [35m[ADB][39m Getting install status for com.arabbank.arabimobilev2 [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys package com.arabbank.arabimobilev2' [debug] [35m[ADB][39m 'com.arabbank.arabimobilev2' is installed [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop com.arabbank.arabimobilev2'[debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell pm clear com.arabbank.arabimobilev2'[debug] [35m[AndroidDriver][39m Performed fast reset on the installed 'com.arabbank.arabimobilev2' application (stop and clear) [debug] [35m[UiAutomator2][39m Performing shallow cleanup of automation leftovers [debug] [35m[UiAutomator2][39m The following obsolete sessions are still running: ["72667174-30b2-41ab-b95f-48bd5afc7d16"] [debug] [35m[UiAutomator2][39m Cleaning up 1 obsolete session[debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop io.appium.uiautomator2.server.test' [info] [35m[UiAutomator2][39m Starting UIAutomator2 server 4.27.0 [info] [35m[UiAutomator2][39m Using UIAutomator2 server from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.27.0.apk' and test from '/Applications/Appium Server GUI.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-debug-androidTest.apk' [info] [35m[UiAutomator2][39m Waiting up to 30000ms for UiAutomator2 to be online... [debug] [35m[ADB][39m Creating ADB subprocess with args: ["-P",5037,"-s","emulator-5554","shell","am","instrument","-w","-e","disableAnalytics",true,"io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner"] [debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body [info] [35m[WD Proxy][39m socket hang up[debug] [35m[Instrumentation][39m io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body [info] [35m[WD Proxy][39m socket hang up[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body [info] [35m[WD Proxy][39m socket hang up[debug] [35m[WD Proxy][39m Matched '/status' to command name 'getStatus' [debug] [35m[WD Proxy][39m Proxying [GET /status] to [GET http://127.0.0.1:8201/wd/hub/status] with no body[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}} [debug] [35m[UiAutomator2][39m The initialization of the instrumentation process took 3159ms [debug] [35m[WD Proxy][39m Matched '/session' to command name 'createSession' [debug] [35m[WD Proxy][39m Proxying [POST /session] to [POST http://127.0.0.1:8201/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","platformVersion":"11","deviceName":"emulator-5556 (sdk_gphone_x86 - Android 11)","automationName":"uiautomator2","app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","udid":"emulator-5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":0,"connectHardwareKeyboard":true},"platformName":"Android","platformVersion":"11","deviceName":"emulator-5554","automationName":"uiautomator2","app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","udid":"emulator-5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"emulator-5554","appPackage":"com.arabbank.arabimobilev2"}],"alwaysMatch":{}}} [debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"11","deviceName":"emulator-5556 (sdk_gphone_x86 - Android 11)","automationName":"uiautomator2","app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","udid":"emulator-5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":0,"connectHardwareKeyboard":true},"platformName":"Android","platformVersion":"11","deviceName":"emulator-5554","automationName":"uiautomator2","app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","udid":"emulator-5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"emulator-5554","appPackage":"com.arabbank.arabimo... [info] [35m[WD Proxy][39m Determined the downstream protocol as 'W3C' [debug] [35m[WD Proxy][39m Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/appium/device/info] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"androidId":"14527aa8933ac794","apiVersion":"30","bluetooth":{"state":"ON"},"brand":"google","carrierName":"Android","displayDensity":440,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone_x86","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilities":"NET_CAPABILITY_MMS,NET_CAPABILITY_SUPL,NET_CAPABILITY_DUN,NET_CAPABILITY_FOTA,NET_CAPABILITY_IMS,NET_CAPABILITY_CBS,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-2147483648,"transportTypes":"TRANSPORT_CELLULAR"},"detailedState":"CONNECTED","extraInfo":"epc.tmobile.com","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":13,"subtypeName":"LTE","type":0,"typeName":"MOBILE"},{"capabilities":{... [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window' [info] [35m[AndroidDriver][39m Screen already unlocked, doing nothing [info] [35m[UiAutomator2][39m Starting 'com.arabbank.arabimobilev2/com.finanteq.finance.arabbank.ui.splash.SplashActivity and waiting for 'com.arabbank.arabimobilev2/com.finanteq.finance.arabbank.ui.splash.SplashActivity' [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n com.arabbank.arabimobilev2/com.finanteq.finance.arabbank.ui.splash.SplashActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'[debug] [35m[ADB][39m Waiting up to 20000ms for activity matching pkg: 'com.arabbank.arabimobilev2' and activity: 'com.finanteq.finance.arabbank.ui.splash.SplashActivity' to be focused [debug] [35m[ADB][39m Possible activities, to be checked: 'com.finanteq.finance.arabbank.ui.splash.SplashActivity', 'com.arabbank.arabimobilev2.com.finanteq.finance.arabbank.ui.splash.SplashActivity' [debug] [35m[ADB][39m Getting focused package and activity [debug] [35m[ADB][39m Running '/Users/mohammadsalem/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window displays' [debug] [35m[ADB][39m Found package: 'com.arabbank.arabimobilev2' and fully qualified activity name : 'com.finanteq.finance.arabbank.ui.splash.SplashActivity' [debug] [35m[WD Proxy][39m Proxying [GET /appium/device/pixel_ratio] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/appium/device/pixel_ratio] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":2.75} [debug] [35m[WD Proxy][39m Matched '/appium/device/system_bars' to command name 'getSystemBars' [debug] [35m[WD Proxy][39m Proxying [GET /appium/device/system_bars] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/appium/device/system_bars] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"statusBar":135}} [debug] [35m[WD Proxy][39m Matched '/window/current/size' to command name 'getWindowSize' [debug] [35m[WD Proxy][39m Proxying [GET /window/current/size] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/window/current/size] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"height":1977,"width":1080}} [info] [35m[Appium][39m New AndroidUiautomator2Driver session created successfully, session 96b47f59-b13a-4b1f-aede-27d7ec568ef1 added to master session list [debug] [35m[BaseDriver][39m Event 'newSessionStarted' logged at 1655722595049 (13:56:35 GMT+0300 (Eastern European Summer Time)) [debug] [35m[W3C (96b47f59)][39m Cached the protocol value 'W3C' for the new session 96b47f59-b13a-4b1f-aede-27d7ec568ef1 [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.createSession() result: {"capabilities":{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"11","deviceName":"emulator-5556 (sdk_gphone_x86 - Android 11)","automationName":"uiautomator2","app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","udid":"emulator-5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":0,"connectHardwareKeyboard":true},"platformName":"Android","platformVersion":"11","deviceName":"emulator-5554","automationName":"uiautomator2","app":"/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk","udid":"emulator-5554","ensureWebviewsHavePages":true,"nativeWebScreenshot":true,"newCommandTimeout":0,"connectHardwareKeyboard":true,"deviceUDID":"emulator-5554","appPackage":"com.arabbank.arabimobilev2","deviceApiLevel":30,"deviceScreenSize":"1080x2280","deviceScreenDen... [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session [39m[32m200[39m [90m11479 ms - 1255[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/screenshot[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getScreenshot() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[WD Proxy][39m Matched '/screenshot' to command name 'getScreenshot' [debug] [35m[WD Proxy][39m Proxying [GET /screenshot] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/screenshot] with no body[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N3rU1R5muDxJzMhuWVyFVBLxEtZt+6e7enp2H21sfufz8S82o3Zme6q\nVrS8VYmKAkpySyAhydwXlpYIKJaQ8FifT0RFSHk456RSFZHf/J3nV/jXf/v3dgAAAAAkVjztGwAA\nAAD4VAIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABA\negIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIH\nAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAA\nkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7A\nAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAA\nAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpdZ32DZBTqVSKQqEQhQN+rx0RrVYr\nWq1Wp28LAACADjh/fjJ6e3ree8zPj2Y7dDevCBx8tEKhEFOXvoihoaEoFvcvAmo2mzH37FksvVyK\n9incHwAA8PvW1dUVAwMD0VMuR3d3d3R1d0Vzpxk7OzvR2N6Oer0ezWbztG/z2FUqA7G+Xu/Itc5P\nTsbw8NB7jxE4OPMqlYE4N34uKgMDhx6z1diK+no9thqNDt4ZAADwe1StVmJkeDiGh4ejUhmIcrn8\nwe/Z3t6O9fV6LC8vR622HGvr... [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N3rU1R5muDxJzMhuWVyFVBLxEtZt+6e7enp2H21sfufz8S82o3Zme6q\nVrS8VYmKAkpySyAhydwXlpYIKJaQ8FifT0RFSHk456RSFZHf/J3nV/jXf/v3dgAAAAAkVjztGwAA\nAAD4VAIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABA\negIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIH\nAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAA\nkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7A\nAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAA\nAKQncAAAAADpCRwAAABAegIHAAAAkJ7AAQAAAKQncAAAAADpdZ32DZBTqVSKQqEQhQN+rx0RrVYr\nWq1Wp28LAACADjh/fjJ6e3ree8zPj2Y7dDevCBx8tEKhEFOXvoihoaEoFvcvAmo2mzH37FksvVyK\n9incHwAA8PvW1dUVAwMD0VMuR3d3d3R1d0Vzpxk7OzvR2N6Oer0ezWbztG/z2FUqA7G+Xu/Itc5P\nTsbw8NB7jxE4OPMqlYE4N34uKgMDhx6z1diK+no9thqNDt4ZAADwe1StVmJkeDiGh4ejUhmIcrn8\nwe/Z3t6O9fV6LC8vR622HGvr6x2405PzzddfxVaj0bHAcRYJHHy0crl84MqNt3V3dUepqytC4AAA\nAE5Ab2... [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/screenshot [39m[32m200[39m [90m374 ms - 257228[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source[39m [info] [35m[HTTP][39m [90m{}[39m [info] [35m[W3C (96b47f59)][39m Driver proxy active, passing request on via HTTP proxy [debug] [35m[WD Proxy][39m Matched '/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source' to command name 'getPageSource' [debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/source] with no body[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="1977">\r\n <android.widget.FrameLayout index="0" package="com.arabbank.arabimobilev2" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,1977]" displayed="true">\r\n <android.widget.LinearLayout index="0" package="com.arabbank.arabimobilev2" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,1977]" displayed="true">\r\n <android.widget.FrameLayout index="0" packa... [info] [35m[WD Proxy][39m Replacing sessionId 30438978-0513-49db-92e5-c4ff7f031137 with 96b47f59-b13a-4b1f-aede-27d7ec568ef1 [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source [39m[32m200[39m [90m780 ms - 3789[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[32m200[39m [90m1 ms - 36[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/screenshot[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getScreenshot() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[WD Proxy][39m Matched '/screenshot' to command name 'getScreenshot' [debug] [35m[WD Proxy][39m Proxying [GET /screenshot] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/screenshot] with no body[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"][debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N3JmxxJeuf3n5lHJrbMBJBYqxoo1NJVvVMckg/5UM+jZ4YHnYZn6Txz\nnrvO+h941px1Fs9c5kJREofsbhSquvZCVQGFNbElkEu4mQ7m5m7u4REZe6QD3w9ZjcxIXywsPNzd\nXn/NzPz9P/w3LwAAAAAAgA6zqy4AAAAAAADArAhwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwC\nHAAAAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8AB\nAAAAAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAA\nAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAA\nAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAA\noPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6\njwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAAoPMI\ncAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6jwAH\nAAAAAADovN6qC4BuyrJMxhiZlr95Sc45OeeWXSwAAAAAwBJcvXpFJ0+cGLnMN9/eXlJpAgIcmJgx\nRtev/URnz56VtYNJQP1+X3fu... [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N3JmxxJeuf3n5lHJrbMBJBYqxoo1NJVvVMckg/5UM+jZ4YHnYZn6Txz\nnrvO+h941px1Fs9c5kJREofsbhSquvZCVQGFNbElkEu4mQ7m5m7u4REZe6QD3w9ZjcxIXywsPNzd\nXn/NzPz9P/w3LwAAAAAAgA6zqy4AAAAAAADArAhwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwC\nHAAAAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8AB\nAAAAAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAA\nAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAA\nAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAA\noPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6\njwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAAoPMI\ncAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6jwAH\nAAAAAADovN6qC4BuyrJMxhiZlr95Sc45OeeWXSwAAAAAwBJcvXpFJ0+cGLnMN9/eXlJpAgIcmJgx\nRtev/URnz56VtYNJQP1+X3fu3tXjR4/lV1A+AAAAAG+2Xq+nM2fO6MT6utbW1tRb66l/2Nfh4aH2\nDw60u7... [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/screenshot [39m[32m200[39m [90m390 ms - 545862[39m [info] [35m[HTTP][39m [90m[39m [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m161 ms - -[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/screenshot[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getScreenshot() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[WD Proxy][39m Matched '/screenshot' to command name 'getScreenshot' [debug] [35m[WD Proxy][39m Proxying [GET /screenshot] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/screenshot] with no body [info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source[39m [info] [35m[HTTP][39m [90m{}[39m [info] [35m[W3C (96b47f59)][39m Driver proxy active, passing request on via HTTP proxy[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":"iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N3JmxxJeuf3n5lHJrbMBJBYqxoo1NJVvVMckg/5UM+jZ4YHnYZn6Txz\nnrvO+h941px1Fs9c5kJREofsbhSquvZCVQGFNbElkEu4mQ7m5m7u4REZe6QD3w9ZjcxIXywsPNzd\nXn/NzPz9P/w3LwAAAAAAgA6zqy4AAAAAAADArAhwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwC\nHAAAAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8AB\nAAAAAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAA\nAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAA\nAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAA\noPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6\njwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAAoPMI\ncAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6jwAH\nAAAAAADovN6qC4BuyrJMxhiZlr95Sc45OeeWXSwAAAAAwBJcvXpFJ0+cGLnMN9/eXlJpAgIcmJgx\nRtev/URnz56VtYNJQP1+X3fu... [debug] [35m[WD Proxy][39m Matched '/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source' to command name 'getPageSource' [debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/source] with no body [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABDgAAAjoCAYAAAA5jhrUAAAAAXNSR0IArs4c6QAAAARzQklUCAgI\nCHwIZIgAACAASURBVHic7N3JmxxJeuf3n5lHJrbMBJBYqxoo1NJVvVMckg/5UM+jZ4YHnYZn6Txz\nnrvO+h941px1Fs9c5kJREofsbhSquvZCVQGFNbElkEu4mQ7m5m7u4REZe6QD3w9ZjcxIXywsPNzd\nXn/NzPz9P/w3LwAAAAAAgA6zqy4AAAAAAADArAhwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwC\nHAAAAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8AB\nAAAAAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAA\nAAAAoPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAA\nAAA6jwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAA\noPMIcAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6\njwAHAAAAAADoPAIcAAAAAACg8whwAAAAAACAziPAAQAAAAAAOo8ABwAAAAAA6DwCHAAAAAAAoPMI\ncAAAAAAAgM4jwAEAAAAAADqPAAcAAAAAAOg8AhwAAAAAAKDzCHAAAAAAAIDOI8ABAAAAAAA6jwAH\nAAAAAADovN6qC4BuyrJMxhiZlr95Sc45OeeWXSwAAAAAwBJcvXpFJ0+cGLnMN9/eXlJpAgIcmJgx\nRtev/URnz56VtYNJQP1+X3fu3tXjR4/lV1A+AAAAAG+2Xq+nM2fO6MT6utbW1tRb66l/2Nfh4aH2\nDw60u7... [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/screenshot [39m[36m304[39m [90m328 ms - -[39m [info] [35m[HTTP][39m [90m[39m[debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="1977">\r\n <android.widget.FrameLayout index="0" package="com.arabbank.arabimobilev2" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,1977]" displayed="true">\r\n <android.widget.LinearLayout index="0" package="com.arabbank.arabimobilev2" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,1977]" displayed="true">\r\n <android.widget.FrameLayout index="0" packa... [info] [35m[WD Proxy][39m Replacing sessionId 30438978-0513-49db-92e5-c4ff7f031137 with 96b47f59-b13a-4b1f-aede-27d7ec568ef1 [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source [39m[32m200[39m [90m470 ms - 29173[39m [info] [35m[HTTP][39m [90m[39m [info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source[39m [info] [35m[HTTP][39m [90m{}[39m [info] [35m[W3C (96b47f59)][39m Driver proxy active, passing request on via HTTP proxy [debug] [35m[WD Proxy][39m Matched '/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source' to command name 'getPageSource' [debug] [35m[WD Proxy][39m Proxying [GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source] to [GET http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/source] with no body [debug] [35m[WD Proxy][39m Got response with status 200: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":"\r\n<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="1977">\r\n <android.widget.FrameLayout index="0" package="com.arabbank.arabimobilev2" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,1977]" displayed="true">\r\n <android.widget.LinearLayout index="0" package="com.arabbank.arabimobilev2" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,1977]" displayed="true">\r\n <android.widget.FrameLayout index="0" packa... [info] [35m[WD Proxy][39m Replacing sessionId 30438978-0513-49db-92e5-c4ff7f031137 with 96b47f59-b13a-4b1f-aede-27d7ec568ef1 [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/source [39m[36m304[39m [90m113 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements[39m [info] [35m[HTTP][39m [90m{"using":"xpath","value":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]"}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.findElements() with args: ["xpath","(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition [debug] [35m[WD Proxy][39m Matched '/elements' to command name 'findElements' [debug] [35m[WD Proxy][39m Proxying [POST /elements] to [POST http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/elements] with body: {"strategy":"xpath","selector":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","context":"","multiple":true}[info] [35m[WD Proxy][39m Got response with status 500: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"error":"unknown error","message":"java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType","stacktrace":"io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType\n\tat io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257)\n\tat io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119)\n\tat io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112)\n\tat io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:26... [debug] [35m[W3C][39m Matched W3C error code 'unknown error' to UnknownError [debug] [35m[W3C (96b47f59)][39m Encountered internal error running command: An unknown server-side error occurred while processing the command. Original error: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:266) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:260) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [debug] [35m[W3C (96b47f59)][39m at java.lang.Thread.run(Thread.java:923) [debug] [35m[W3C (96b47f59)][39m Caused by: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.FollowingAxis.iterate(FollowingAxis.java:59) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1315) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ForwardStep.accept(ForwardStep.java:145) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2075) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.AxisStep.accept(AxisStep.java:45) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_step(DefaultEvaluator.java:1111) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1249) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1548) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ParExpr.accept(ParExpr.java:39) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2108) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.FilterExpr.accept(FilterExpr.java:51) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1273) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:366) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.accept(XPath.java:60) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.evaluate2(DefaultEvaluator.java:325) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.evaluate(XPath.java:133) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:223) [debug] [35m[W3C (96b47f59)][39m ... 37 more [debug] [35m[W3C (96b47f59)][39m [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements [39m[31m500[39m [90m498 ms - 7048[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m2 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements[39m [info] [35m[HTTP][39m [90m{"using":"xpath","value":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]"}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.findElements() with args: ["xpath","(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition [debug] [35m[WD Proxy][39m Matched '/elements' to command name 'findElements' [debug] [35m[WD Proxy][39m Proxying [POST /elements] to [POST http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/elements] with body: {"strategy":"xpath","selector":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","context":"","multiple":true}[info] [35m[WD Proxy][39m Got response with status 500: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"error":"unknown error","message":"java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType","stacktrace":"io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType\n\tat io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257)\n\tat io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119)\n\tat io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112)\n\tat io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:26... [debug] [35m[W3C][39m Matched W3C error code 'unknown error' to UnknownError [debug] [35m[W3C (96b47f59)][39m Encountered internal error running command: An unknown server-side error occurred while processing the command. Original error: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:266) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:260) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [debug] [35m[W3C (96b47f59)][39m at java.lang.Thread.run(Thread.java:923) [debug] [35m[W3C (96b47f59)][39m Caused by: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.FollowingAxis.iterate(FollowingAxis.java:59) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1315) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ForwardStep.accept(ForwardStep.java:145) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2075) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.AxisStep.accept(AxisStep.java:45) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_step(DefaultEvaluator.java:1111) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1249) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1548) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ParExpr.accept(ParExpr.java:39) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2108) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.FilterExpr.accept(FilterExpr.java:51) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1273) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:366) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.accept(XPath.java:60) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.evaluate2(DefaultEvaluator.java:325) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.evaluate(XPath.java:133) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:223) [debug] [35m[W3C (96b47f59)][39m ... 37 more [debug] [35m[W3C (96b47f59)][39m [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements [39m[31m500[39m [90m98 ms - 7048[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements[39m [info] [35m[HTTP][39m [90m{"using":"xpath","value":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]"}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.findElements() with args: ["xpath","(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition [debug] [35m[WD Proxy][39m Matched '/elements' to command name 'findElements' [debug] [35m[WD Proxy][39m Proxying [POST /elements] to [POST http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/elements] with body: {"strategy":"xpath","selector":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","context":"","multiple":true}[info] [35m[WD Proxy][39m Got response with status 500: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"error":"unknown error","message":"java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType","stacktrace":"io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType\n\tat io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257)\n\tat io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119)\n\tat io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112)\n\tat io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:26... [debug] [35m[W3C][39m Matched W3C error code 'unknown error' to UnknownError [debug] [35m[W3C (96b47f59)][39m Encountered internal error running command: An unknown server-side error occurred while processing the command. Original error: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:266) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:260) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [debug] [35m[W3C (96b47f59)][39m at java.lang.Thread.run(Thread.java:923) [debug] [35m[W3C (96b47f59)][39m Caused by: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.FollowingAxis.iterate(FollowingAxis.java:59) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1315) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ForwardStep.accept(ForwardStep.java:145) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2075) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.AxisStep.accept(AxisStep.java:45) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_step(DefaultEvaluator.java:1111) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1249) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1548) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ParExpr.accept(ParExpr.java:39) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2108) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.FilterExpr.accept(FilterExpr.java:51) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1273) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:366) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.accept(XPath.java:60) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.evaluate2(DefaultEvaluator.java:325) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.evaluate(XPath.java:133) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:223) [debug] [35m[W3C (96b47f59)][39m ... 37 more [debug] [35m[W3C (96b47f59)][39m [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements [39m[31m500[39m [90m129 ms - 7048[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mPOST[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements[39m [info] [35m[HTTP][39m [90m{"using":"xpath","value":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]"}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.findElements() with args: ["xpath","(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[BaseDriver][39m Valid locator strategies for this request: xpath, id, class name, accessibility id, css selector, -android uiautomator [debug] [35m[BaseDriver][39m Waiting up to 0 ms for condition [debug] [35m[WD Proxy][39m Matched '/elements' to command name 'findElements' [debug] [35m[WD Proxy][39m Proxying [POST /elements] to [POST http://127.0.0.1:8201/wd/hub/session/30438978-0513-49db-92e5-c4ff7f031137/elements] with body: {"strategy":"xpath","selector":"(//android.widget.EditText[@text="Enter username"]//following::android.widget.EditText[@text="Enter password"])[1]","context":"","multiple":true} [info] [35m[WD Proxy][39m Got response with status 500: {"sessionId":"30438978-0513-49db-92e5-c4ff7f031137","value":{"error":"unknown error","message":"java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType","stacktrace":"io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType\n\tat io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257)\n\tat io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119)\n\tat io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112)\n\tat io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75)\n\tat io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)\n\tat io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:26... [debug] [35m[W3C][39m Matched W3C error code 'unknown error' to UnknownError [debug] [35m[W3C (96b47f59)][39m Encountered internal error running command: An unknown server-side error occurred while processing the command. Original error: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:257) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.utils.ElementLocationHelpers.getXPathNodeMatch(ElementLocationHelpers.java:119) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.findElements(FindElements.java:112) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.FindElements.safeHandle(FindElements.java:75) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:266) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:260) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466) [debug] [35m[W3C (96b47f59)][39m at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140) [debug] [35m[W3C (96b47f59)][39m at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144) [debug] [35m[W3C (96b47f59)][39m at java.lang.Thread.run(Thread.java:923) [debug] [35m[W3C (96b47f59)][39m Caused by: java.lang.ClassCastException: java.util.ArrayList$ListItr cannot be cast to org.eclipse.wst.xml.xpath2.processor.internal.types.NodeType [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.FollowingAxis.iterate(FollowingAxis.java:59) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1315) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ForwardStep.accept(ForwardStep.java:145) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2075) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.AxisStep.accept(AxisStep.java:45) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_step(DefaultEvaluator.java:1111) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1249) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1548) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.ParExpr.accept(ParExpr.java:39) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:2108) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.FilterExpr.accept(FilterExpr.java:51) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:1273) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathExpr.accept(XPathExpr.java:43) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.do_expr(DefaultEvaluator.java:337) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:366) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.visit(DefaultEvaluator.java:154) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.accept(XPath.java:60) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.DefaultEvaluator.evaluate2(DefaultEvaluator.java:325) [debug] [35m[W3C (96b47f59)][39m at org.eclipse.wst.xml.xpath2.processor.ast.XPath.evaluate(XPath.java:133) [debug] [35m[W3C (96b47f59)][39m at io.appium.uiautomator2.core.AccessibilityNodeInfoDumper.findNodes(AccessibilityNodeInfoDumper.java:223) [debug] [35m[W3C (96b47f59)][39m ... 37 more [debug] [35m[W3C (96b47f59)][39m [info] [35m[HTTP][39m [37m<-- POST /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/elements [39m[31m500[39m [90m113 ms - 7048[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m3 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m[info] [35m[HTTP][39m [37m-->[39m [37mGET[39m [37m/wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts[39m [info] [35m[HTTP][39m [90m{}[39m [debug] [35m[W3C (96b47f59)][39m Calling AppiumDriver.getTimeouts() with args: ["96b47f59-b13a-4b1f-aede-27d7ec568ef1"] [debug] [35m[W3C (96b47f59)][39m Responding to client with driver.getTimeouts() result: {"command":0,"implicit":0} [info] [35m[HTTP][39m [37m<-- GET /wd/hub/session/96b47f59-b13a-4b1f-aede-27d7ec568ef1/timeouts [39m[36m304[39m [90m1 ms - -[39m [info] [35m[HTTP][39m [90m[39m

omarmunir avatar Jun 20 '22 11:06 omarmunir

This is due to a known bug in eclipse xpath2 parser. You could enforce xpath1 usage as a possible workaround using enforceXPath1 setting

mykola-mokhnach avatar Jun 20 '22 11:06 mykola-mokhnach

This is due to a known bug in eclipse xpath2 parser. You could enforce xpath1 usage as a possible workaround using enforceXPath1 setting

@mykola-mokhnach I tried this but still same issue. please find below capabilities I use:

{ "platformName": "Android", "appium:platformVersion": "11", "appium:deviceName": "emulator-5556 (sdk_gphone_x86 - Android 11)", "appium:automationName": "uiautomator2", "appium:app": "/Users/mohammadsalem/Documents/Mobile Applications/AND2.4.2.apk", "appium:udid": "emulator-5554", "enforceXPath1": true }

omarmunir avatar Jun 20 '22 11:06 omarmunir

Please read the documentation carefully.

  • this is a setting, not a cpability
  • it is only available since particular driver version. If the current driver version is older than that then it obviously won't have any effect

mykola-mokhnach avatar Jun 20 '22 13:06 mykola-mokhnach

@mykola-mokhnach thank you, can you please let me know how can i pass this setting?

Please read the documentation carefully.

  • this is a setting, not a cpability
  • it is only available since particular driver version. If the current driver version is older than that then it obviously won't have any effect

omarmunir avatar Jun 21 '22 11:06 omarmunir

You can always set settings in capabilities like this: appium:settings[enforceXPath1] set to true

jlipps avatar Jun 22 '22 19:06 jlipps

You can always set settings in capabilities like this: appium:settings[enforceXPath1] set to true Screen Shot 2022-06-23 at 3 07 15 PM

@jlipps I tried it but I am getting an error.

omarmunir avatar Jun 23 '22 12:06 omarmunir

@jlipps Screen Shot 2022-06-23 at 3 53 29 PM

omarmunir avatar Jun 23 '22 12:06 omarmunir

As the README points out, you'll need the uiauto2 driver at 4.25.0 or greater, which is only available in Appium 2.

jlipps avatar Jun 30 '22 17:06 jlipps