healenium / healenium-appium

Self-healing library for Appium-based tests
Apache License 2.0
26 stars 8 forks source link

[BUG]: No Support iOS native app on Healenium Proxy.? #59

Open Naveenhd51 opened 6 months ago

Naveenhd51 commented 6 months ago

Describe the bug

its not healing for iOS native app using healenium proxy server. its giving An unknow server side error occurred.

How to reproduce the issue

its not healing for iOS native app using healenium proxy server. its giving An unknow server side error occurred. 

Please let me know this healenium proxy is will support iOS native app?

Logs appeared during using Healenium

[Save Elements] - An unknow server side error occurred.

Expected behavior

No response

Actual behavior

No response

Healenium Backend version

1.4.0

Healenium Appium version

1.22.3

Selenium version

No response

Platform

iOS Native app ( Appium )

Additional context

No response

uschouhan commented 1 month ago

Even same issue i am facing .when can we get fix for it - 2024-09-25 18:54:01 2024-09-25 16:24:01.986 INFO 1 - [8085-exec-1] healenium : [Create Session] Response from Selenium Server: {"value":{"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"IOS","automationName":"XCUITest","bundleId":"com.angelbroking.angeleye","deviceName":"iPhone11","udid":"11DBF953-9F96-4F9C-87BC-36FAC8B15097","platformVersion":"17.4"},"sessionId":"fea84d6a-0a63-471c-85f2-5f7e74d27a88"}} 2024-09-25 18:54:07 2024-09-25 16:24:07.259 WARN 1 - [8085-exec-3] healenium : [Save Elements] Error during save elements: [18000000-0000-0000-CF6D-010000000000]. Message: An unknown server-side error occurred while processing the command. Original error: The attribute 'bounds' is unknown. Valid attribute names are: (\n UID,\n accessibilityContainer,\n accessible,\n enabled,\n focused,\n frame,\n hittable,\n index,\n label,\n name,\n rect,\n selected,\n type,\n value,\n visible,\n wdAccessibilityContainer,\n wdAccessible,\n wdEnabled,\n wdFocused,\n wdFrame,\n wdHittable,\n wdIndex,\n wdLabel,\n wdName,\n wdRect,\n wdSelected,\n wdType,\n wdUID,\n wdValue,\n wdVisible\n )\n Build info: version: '4.16.0', revision: '15400459dd'\n System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.49-linuxkit', java.version: '17.0.10'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [fea84d6a-0a63-471c-85f2-5f7e74d27a88, getElementAttribute {id=18000000-0000-0000-CF6D-010000000000, name=bounds}]\n Capabilities {appium:automationName: XCUITest, appium:bundleId: com.angelbroking.angeleye, appium:databaseEnabled: false, appium:deviceName: iPhone11, appium:javascriptEnabled: true, appium:locationContextEnabled: false, appium:networkConnectionEnabled: false, appium:platformVersion: 17.4, appium:takesScreenshot: true, appium:udid: 11DBF953-9F96-4F9C-87BC-36F..., appium:webStorageEnabled: false, platformName: IOS}\n Element: [[AppiumDriver: on IOS (fea84d6a-0a63-471c-85f2-5f7e74d27a88)] -> accessibility id: Button.Login.Signup]\n Session ID: fea84d6a-0a63-471c-85f2-5f7e74d27a88. Exception: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The attribute 'bounds' is unknown. Valid attribute names are: (\n UID,\n accessibilityContainer,\n accessible,\n enabled,\n focused,\n frame,\n hittable,\n index,\n label,\n name,\n rect,\n selected,\n type,\n value,\n visible,\n wdAccessibilityContainer,\n wdAccessible,\n wdEnabled,\n wdFocused,\n wdFrame,\n wdHittable,\n wdIndex,\n wdLabel,\n wdName,\n wdRect,\n wdSelected,\n wdType,\n wdUID,\n wdValue,\n wdVisible\n )\n Build info: version: '4.16.0', revision: '15400459dd'\n System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.49-linuxkit', java.version: '17.0.10'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [fea84d6a-0a63-471c-85f2-5f7e74d27a88, getElementAttribute {id=18000000-0000-0000-CF6D-010000000000, name=bounds}]\n Capabilities {appium:automationName: XCUITest, appium:bundleId: com.angelbroking.angeleye, appium:databaseEnabled: false, appium:deviceName: iPhone11, appium:javascriptEnabled: true, appium:locationContextEnabled: false, appium:networkConnectionEnabled: false, appium:platformVersion: 17.4, appium:takesScreenshot: true, appium:udid: 11DBF953-9F96-4F9C-87BC-36F..., appium:webStorageEnabled: false, platformName: IOS}\n Element: [[AppiumDriver: on IOS (fea84d6a-0a63-471c-85f2-5f7e74d27a88)] -> accessibility id: Button.Login.Signup]\n Session ID: fea84d6a-0a63-471c-85f2-5f7e74d27a88 2024-09-25 18:54:07 2024-09-25 16:24:07.282 INFO 1 - [8085-exec-3] healenium : [Find Element] {\n "value": {\n "element-6066-11e4-a52e-4f735466cecf": "18000000-0000-0000-CF6D-010000000000"\n }\n } 2024-09-25 18:54:08 2024-09-25 16:24:08.868 WARN 1 - [8085-exec-5] healenium : [Save Elements] Error during save elements: [34000000-0000-0000-CF6D-010000000000]. Message: An unknown server-side error occurred while processing the command. Original error: The attribute 'bounds' is unknown. Valid attribute names are: (\n UID,\n accessibilityContainer,\n accessible,\n enabled,\n focused,\n frame,\n hittable,\n index,\n label,\n name,\n rect,\n selected,\n type,\n value,\n visible,\n wdAccessibilityContainer,\n wdAccessible,\n wdEnabled,\n wdFocused,\n wdFrame,\n wdHittable,\n wdIndex,\n wdLabel,\n wdName,\n wdRect,\n wdSelected,\n wdType,\n wdUID,\n wdValue,\n wdVisible\n )\n Build info: version: '4.16.0', revision: '15400459dd'\n System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.49-linuxkit', java.version: '17.0.10'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [fea84d6a-0a63-471c-85f2-5f7e74d27a88, getElementAttribute {id=34000000-0000-0000-CF6D-010000000000, name=bounds}]\n Capabilities {appium:automationName: XCUITest, appium:bundleId: com.angelbroking.angeleye, appium:databaseEnabled: false, appium:deviceName: iPhone11, appium:javascriptEnabled: true, appium:locationContextEnabled: false, appium:networkConnectionEnabled: false, appium:platformVersion: 17.4, appium:takesScreenshot: true, appium:udid: 11DBF953-9F96-4F9C-87BC-36F..., appium:webStorageEnabled: false, platformName: IOS}\n Element: [[AppiumDriver: on IOS (fea84d6a-0a63-471c-85f2-5f7e74d27a88)] -> accessibility id: TxtFiled.Login.Signup]\n Session ID: fea84d6a-0a63-471c-85f2-5f7e74d27a88. Exception: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: The attribute 'bounds' is unknown. Valid attribute names are: (\n UID,\n accessibilityContainer,\n accessible,\n enabled,\n focused,\n frame,\n hittable,\n index,\n label,\n name,\n rect,\n selected,\n type,\n value,\n visible,\n wdAccessibilityContainer,\n wdAccessible,\n wdEnabled,\n wdFocused,\n wdFrame,\n wdHittable,\n wdIndex,\n wdLabel,\n wdName,\n wdRect,\n wdSelected,\n wdType,\n wdUID,\n wdValue,\n wdVisible\n )\n Build info: version: '4.16.0', revision: '15400459dd'\n System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.49-linuxkit', java.version: '17.0.10'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [fea84d6a-0a63-471c-85f2-5f7e74d27a88, getElementAttribute {id=34000000-0000-0000-CF6D-010000000000, name=bounds}]\n Capabilities {appium:automationName: XCUITest, appium:bundleId: com.angelbroking.angeleye, appium:databaseEnabled: false, appium:deviceName: iPhone11, appium:javascriptEnabled: true, appium:locationContextEnabled: false, appium:networkConnectionEnabled: false, appium:platformVersion: 17.4, appium:takesScreenshot: true, appium:udid: 11DBF953-9F96-4F9C-87BC-36F..., appium:webStorageEnabled: false, platformName: IOS}\n Element: [[AppiumDriver: on IOS (fea84d6a-0a63-471c-85f2-5f7e74d27a88)] -> accessibility id: TxtFiled.Login.Signup]\n Session ID: fea84d6a-0a63-471c-85f2-5f7e74d27a88 2024-09-25 18:54:08 2024-09-25 16:24:08.883 INFO 1 - [8085-exec-5] healenium : [Find Element] {\n "value": {\n "element-6066-11e4-a52e-4f735466cecf": "34000000-0000-0000-CF6D-010000000000"\n }\n }