I have integrated healenium in our framework where we are automating Android and iOs application, currently we are focusing on Android application for this integration.
Logs of Healenium Backend
2025-03-26 15:33:07.541 DEBUG 1 - [7878-exec-5] healenium : [Selector ID] Result ID: 4858a91ce9825a6cf627552bdf6172e5
2025-03-26 15:33:07.545 DEBUG 1 - [7878-exec-5] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:07.665 DEBUG 1 - [7878-exec-9] healenium : [Get Reference] Request: RequestDto(locator=//androidx.recyclerview.widget.RecyclerView[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/atc_qty_selector'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:07.667 DEBUG 1 - [7878-exec-9] healenium : [Selector ID] Locator: //androidx.recyclerview.widget.RecyclerView[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/atc_qty_selector'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:07.667 DEBUG 1 - [7878-exec-9] healenium : [Selector ID] Result ID: 4858a91ce9825a6cf627552bdf6172e5
2025-03-26 15:33:07.673 DEBUG 1 - [7878-exec-9] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:07.816 DEBUG 1 - [7878-exec-8] healenium : [Get Reference] Request: RequestDto(locator=com.aranoah.healthkart.plus:id/action, className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:07.819 DEBUG 1 - [7878-exec-8] healenium : [Selector ID] Locator: com.aranoah.healthkart.plus:id/action, URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:07.820 DEBUG 1 - [7878-exec-8] healenium : [Selector ID] Result ID: dc762259f9778667880caace50aeb1d5
2025-03-26 15:33:07.829 DEBUG 1 - [7878-exec-8] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:08.475 DEBUG 1 - [878-exec-10] healenium : [Get Reference] Request: RequestDto(locator=com.aranoah.healthkart.plus:id/action, className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:08.477 DEBUG 1 - [878-exec-10] healenium : [Selector ID] Locator: com.aranoah.healthkart.plus:id/action, URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:08.477 DEBUG 1 - [878-exec-10] healenium : [Selector ID] Result ID: dc762259f9778667880caace50aeb1d5
2025-03-26 15:33:08.482 DEBUG 1 - [878-exec-10] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:09.166 DEBUG 1 - [7878-exec-1] healenium : [Get Reference] Request: RequestDto(locator=com.aranoah.healthkart.plus:id/action, className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:09.172 DEBUG 1 - [7878-exec-1] healenium : [Selector ID] Locator: com.aranoah.healthkart.plus:id/action, URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:09.173 DEBUG 1 - [7878-exec-1] healenium : [Selector ID] Result ID: dc762259f9778667880caace50aeb1d5
2025-03-26 15:33:09.178 DEBUG 1 - [7878-exec-1] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:09.831 DEBUG 1 - [7878-exec-3] healenium : [Get Reference] Request: RequestDto(locator=com.aranoah.healthkart.plus:id/action, className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:09.834 DEBUG 1 - [7878-exec-3] healenium : [Selector ID] Locator: com.aranoah.healthkart.plus:id/action, URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:09.835 DEBUG 1 - [7878-exec-3] healenium : [Selector ID] Result ID: dc762259f9778667880caace50aeb1d5
2025-03-26 15:33:09.841 DEBUG 1 - [7878-exec-3] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:10.545 DEBUG 1 - [7878-exec-2] healenium : [Get Reference] Request: RequestDto(locator=com.aranoah.healthkart.plus:id/action, className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:10.547 DEBUG 1 - [7878-exec-2] healenium : [Selector ID] Locator: com.aranoah.healthkart.plus:id/action, URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:10.547 DEBUG 1 - [7878-exec-2] healenium : [Selector ID] Result ID: dc762259f9778667880caace50aeb1d5
2025-03-26 15:33:10.549 DEBUG 1 - [7878-exec-2] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:11.217 DEBUG 1 - [7878-exec-4] healenium : [Get Reference] Request: RequestDto(locator=com.aranoah.healthkart.plus:id/action, className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:11.224 DEBUG 1 - [7878-exec-4] healenium : [Selector ID] Locator: com.aranoah.healthkart.plus:id/action, URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:11.225 DEBUG 1 - [7878-exec-4] healenium : [Selector ID] Result ID: dc762259f9778667880caace50aeb1d5
2025-03-26 15:33:11.229 DEBUG 1 - [7878-exec-4] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:11.364 DEBUG 1 - [7878-exec-7] healenium : [Get Reference] Request: RequestDto(locator=com.aranoah.healthkart.plus:id/action, className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:11.371 DEBUG 1 - [7878-exec-7] healenium : [Selector ID] Locator: com.aranoah.healthkart.plus:id/action, URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:11.372 DEBUG 1 - [7878-exec-7] healenium : [Selector ID] Result ID: dc762259f9778667880caace50aeb1d5
2025-03-26 15:33:11.380 DEBUG 1 - [7878-exec-7] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:11.585 DEBUG 1 - [7878-exec-6] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:11.587 DEBUG 1 - [7878-exec-6] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:11.588 DEBUG 1 - [7878-exec-6] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:11.598 DEBUG 1 - [7878-exec-6] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:12.316 DEBUG 1 - [7878-exec-5] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:12.319 DEBUG 1 - [7878-exec-5] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:12.320 DEBUG 1 - [7878-exec-5] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:12.327 DEBUG 1 - [7878-exec-5] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:13.065 DEBUG 1 - [7878-exec-9] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:13.067 DEBUG 1 - [7878-exec-9] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:13.070 DEBUG 1 - [7878-exec-9] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:13.073 DEBUG 1 - [7878-exec-9] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:13.786 DEBUG 1 - [7878-exec-8] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:13.796 DEBUG 1 - [7878-exec-8] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:13.797 DEBUG 1 - [7878-exec-8] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:13.808 DEBUG 1 - [7878-exec-8] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:14.550 DEBUG 1 - [878-exec-10] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:14.554 DEBUG 1 - [878-exec-10] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:14.555 DEBUG 1 - [878-exec-10] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:14.563 DEBUG 1 - [878-exec-10] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:15.337 DEBUG 1 - [7878-exec-1] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:15.342 DEBUG 1 - [7878-exec-1] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:15.344 DEBUG 1 - [7878-exec-1] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:15.350 DEBUG 1 - [7878-exec-1] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:16.084 DEBUG 1 - [7878-exec-3] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:16.089 DEBUG 1 - [7878-exec-3] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:16.090 DEBUG 1 - [7878-exec-3] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:16.095 DEBUG 1 - [7878-exec-3] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:16.836 DEBUG 1 - [7878-exec-2] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:16.840 DEBUG 1 - [7878-exec-2] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:16.841 DEBUG 1 - [7878-exec-2] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:16.845 DEBUG 1 - [7878-exec-2] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:33:17.116 DEBUG 1 - [7878-exec-4] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:33:17.121 DEBUG 1 - [7878-exec-4] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/list_of_items_on_cart']//*[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:33:17.125 DEBUG 1 - [7878-exec-4] healenium : [Selector ID] Result ID: 697b78f201321cb904d99547f7b38659
2025-03-26 15:33:17.131 DEBUG 1 - [7878-exec-4] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
2025-03-26 15:34:22.326 DEBUG 1 - [7878-exec-1] healenium : [Get Reference] Request: RequestDto(locator=//*[@resource-id='com.aranoah.healthkart.plus:id/shimmer' or @resource-id='com.aranoah.healthkart.plus:id/loader' or @resource-id='com.aranoah.healthkart.plus:id/web_view_shimmer' or @resource-id='com.aranoah.healthkart.plus:id/local_loader'], className=HealeniumFindElementPostRequest, methodName=findElement, command=findElement, url=))
2025-03-26 15:34:22.355 DEBUG 1 - [7878-exec-1] healenium : [Selector ID] Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/shimmer' or @resource-id='com.aranoah.healthkart.plus:id/loader' or @resource-id='com.aranoah.healthkart.plus:id/web_view_shimmer' or @resource-id='com.aranoah.healthkart.plus:id/local_loader'], URL(source): , URL(key): , Command: findElement, KEY_SELECTOR_URL: false
2025-03-26 15:34:22.356 DEBUG 1 - [7878-exec-1] healenium : [Selector ID] Result ID: 57fedfd70520347732f13100d438c5aa
2025-03-26 15:34:22.374 DEBUG 1 - [7878-exec-1] healenium : [Get Reference] Response: ReferenceElementsDto(pageContent=null, paths=[], unsuccessfulLocators=null))
Logs of Healenium Proxy
2025-03-26 15:34:55.097 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fname' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\") or @resource-id='com.aranoah.healthkart.plus:id\u002fsku_name' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\")]\u002f..\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fatc_qty_selector']"\n }
2025-03-26 15:34:56.201 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care") or @resource-id='com.aranoah.healthkart.plus:id/sku_name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care")]/..//*[@resource-id='com.aranoah.healthkart.plus:id/atc_qty_selector'], Command: findElement, URL:
2025-03-26 15:34:56.232 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007de"}}
2025-03-26 15:34:56.402 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "(\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fcart_icon']) | (\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fmenu_item_cart'])"\n }
2025-03-26 15:34:59.381 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: (//*[@resource-id='com.aranoah.healthkart.plus:id/cart_icon']) | (//*[@resource-id='com.aranoah.healthkart.plus:id/menu_item_cart']), Command: findElements, URL:
2025-03-26 15:34:59.433 INFO 1 - [ttp-epoll-3] healenium : Find Elements Response: {"value":[{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff0000067a"},{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff0000067b"}]}
2025-03-26 15:34:59.480 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "(\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fcart_icon']) | (\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fmenu_item_cart'])"\n }
2025-03-26 15:35:02.337 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: (//*[@resource-id='com.aranoah.healthkart.plus:id/cart_icon']) | (//*[@resource-id='com.aranoah.healthkart.plus:id/menu_item_cart']), Command: findElement, URL:
2025-03-26 15:35:02.459 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff0000067a"}}
2025-03-26 15:35:04.004 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fcart_count']"\n }
2025-03-26 15:35:05.183 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/cart_count'], Command: findElement, URL:
2025-03-26 15:35:05.211 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff0000067c"}}
2025-03-26 15:35:05.344 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fcart_count']"\n }
2025-03-26 15:35:07.489 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/cart_count'], Command: findElement, URL:
2025-03-26 15:35:07.538 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff0000067c"}}
2025-03-26 15:35:07.551 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fcart_count']"\n }
2025-03-26 15:35:09.954 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/cart_count'], Command: findElement, URL:
2025-03-26 15:35:09.966 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff0000067c"}}
2025-03-26 15:35:13.078 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "id",\n "value": "com.aranoah.healthkart.plus:id\u002fqty_added_button"\n }
2025-03-26 15:35:13.943 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.id, Locator: com.aranoah.healthkart.plus:id/qty_added_button, Command: findElement, URL:
2025-03-26 15:35:13.995 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007e0"}}
2025-03-26 15:35:14.044 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "id",\n "value": "com.aranoah.healthkart.plus:id\u002fqty_added_button"\n }
2025-03-26 15:35:16.051 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.id, Locator: com.aranoah.healthkart.plus:id/qty_added_button, Command: findElement, URL:
2025-03-26 15:35:16.079 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007e0"}}
2025-03-26 15:35:16.232 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "id",\n "value": "com.aranoah.healthkart.plus:id\u002fremove_text"\n }
2025-03-26 15:35:17.270 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.id, Locator: com.aranoah.healthkart.plus:id/remove_text, Command: findElement, URL:
2025-03-26 15:35:17.284 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bf-ffff-ffff00000af4"}}
2025-03-26 15:35:17.308 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "id",\n "value": "com.aranoah.healthkart.plus:id\u002fremove_text"\n }
2025-03-26 15:35:17.675 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.id, Locator: com.aranoah.healthkart.plus:id/remove_text, Command: findElement, URL:
2025-03-26 15:35:17.736 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bf-ffff-ffff00000af4"}}
2025-03-26 15:35:17.747 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "id",\n "value": "com.aranoah.healthkart.plus:id\u002fremove_text"\n }
2025-03-26 15:35:18.219 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.id, Locator: com.aranoah.healthkart.plus:id/remove_text, Command: findElement, URL:
2025-03-26 15:35:18.253 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bf-ffff-ffff00000af4"}}
2025-03-26 15:35:18.375 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fname' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\") or @resource-id='com.aranoah.healthkart.plus:id\u002fsku_name' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\")]\u002f..\u002f\u002fandroid.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id\u002fadd_to_cart_btn']"\n }
2025-03-26 15:35:21.970 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care") or @resource-id='com.aranoah.healthkart.plus:id/sku_name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care")]/..//android.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], Command: findElements, URL:
2025-03-26 15:35:22.019 INFO 1 - [ttp-epoll-3] healenium : Find Elements Response: {"value":[{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007df"}]}
2025-03-26 15:35:22.050 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fname' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\") or @resource-id='com.aranoah.healthkart.plus:id\u002fsku_name' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\")]\u002f..\u002f\u002fandroid.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id\u002fadd_to_cart_btn']"\n }
2025-03-26 15:35:23.181 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care") or @resource-id='com.aranoah.healthkart.plus:id/sku_name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care")]/..//android.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], Command: findElement, URL:
2025-03-26 15:35:23.204 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007df"}}
2025-03-26 15:35:23.277 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fname' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\") or @resource-id='com.aranoah.healthkart.plus:id\u002fsku_name' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\")]\u002f..\u002f\u002fandroid.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id\u002fadd_to_cart_btn']"\n }
2025-03-26 15:35:25.347 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care") or @resource-id='com.aranoah.healthkart.plus:id/sku_name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care")]/..//android.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], Command: findElements, URL:
2025-03-26 15:35:25.356 INFO 1 - [ttp-epoll-3] healenium : Find Elements Response: {"value":[{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007df"}]}
2025-03-26 15:35:25.361 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fname' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\") or @resource-id='com.aranoah.healthkart.plus:id\u002fsku_name' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\")]\u002f..\u002f\u002fandroid.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id\u002fadd_to_cart_btn']"\n }
2025-03-26 15:35:26.857 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care") or @resource-id='com.aranoah.healthkart.plus:id/sku_name' and contains(@text,"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care")]/..//android.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id/add_to_cart_btn'], Command: findElement, URL:
2025-03-26 15:35:26.996 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007df"}}
2025-03-26 15:35:27.997 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002fandroid.widget.TextView[@resource-id='com.aranoah.healthkart.plus:id\u002fname' and contains(@text,\"Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care\") or @resource-id='com.aranoah.healthkart.plus:id\u002fsku_name' and @text='Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care']\u002f..\u002f\u002fandroid.widget.Button"\n }
2025-03-26 15:35:28.377 INFO 1 - [ttp-epoll-3] healenium : Find Elements Response: {"value":[]}
2025-03-26 15:35:28.457 INFO 1 - [ttp-epoll-3] healenium : Find Element Request: {\n "using": "xpath",\n "value": "\u002f\u002f*[@resource-id='com.aranoah.healthkart.plus:id\u002fname' and contains(@text,'Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint \u0026 Muscle Care')]\u002f..\u002f\u002fandroid.widget.TextView"\n }
2025-03-26 15:35:30.918 DEBUG 1 - [ttp-epoll-3] healenium : [Save Elements] By: By.xpath, Locator: //*[@resource-id='com.aranoah.healthkart.plus:id/name' and contains(@text,'Depura 60000 IU Vitamin D3 Oral Solution | Sugar Free | For Nutritional Support | Bone, Joint & Muscle Care')]/..//android.widget.TextView, Command: findElement, URL:
2025-03-26 15:35:30.985 INFO 1 - [ttp-epoll-3] healenium : Find Element Response: {"value":{"element-6066-11e4-a52e-4f735466cecf":"00000000-0000-05bd-ffff-ffff000007df"}}
Describe the problem
I have integrated healenium in our framework where we are automating Android and iOs application, currently we are focusing on Android application for this integration.
I have ran multiple iteration of tests on my local but none of the locators are getting saved in psql DB or reflecting on http://localhost:7878/healenium/selectors/.
Healenium Web version
com.epam.healenium healenium-web 3.5.5Healenium Backend version
3.4.6
Selenium version
4.13.0
Platform
JAVA 17
Properties file
recovery-tries = 1
score-cap = 0.3
heal-enabled = true
hlm.server.url = http://localhost:7878
hlm.imitator.url = http://localhost:8000
Logs appeared during using Healenium
Additional context
Below is the docker-compose-appium.yaml
`version: "3.8"
services:
postgres-db:
image: postgres:15.5-alpine
container_name: postgres-db
restart: always
ports:
- "5432:5432"
volumes:
- ./db/sql/init.sql:/docker-entrypoint-initdb.d/init.sql
environment:
- POSTGRES_DB=healenium
- POSTGRES_USER=healenium_user
- POSTGRES_PASSWORD=YDk2nmNs4s9aCP6K
networks:
- healenium
healenium:
image: healenium/hlm-backend:3.4.6
container_name: healenium
restart: on-failure
ports:
- "7878:7878"
links:
- postgres-db
environment:
- SPRING_POSTGRES_DB=healenium
- SPRING_POSTGRES_SCHEMA=healenium
- SPRING_POSTGRES_USER=healenium_user
- SPRING_POSTGRES_PASSWORD=YDk2nmNs4s9aCP6K
- SPRING_POSTGRES_DB_HOST=postgres-db
- KEY_SELECTOR_URL=false
- COLLECT_METRICS=true
- FIND_ELEMENTS_AUTO_HEALING=false
- HLM_LOG_LEVEL=debug
volumes:
- ./screenshots/:/screenshots
- ./logs/:/logs
networks:
- healenium
selector-imitator:
image: healenium/hlm-selector-imitator:1.4
container_name: selector-imitator
restart: on-failure
ports:
- "8000:8000"
networks:
- healenium
hlm-proxy:
image: healenium/hlm-proxy:2.1.4
container_name: hlm-proxy
restart: on-failure
ports:
- "8085:8085"
environment:
- RECOVERY_TRIES=1
- SCORE_CAP=.6
- HEAL_ENABLED=true
- SELENIUM_SERVER_URL=http://host.docker.internal:4723
- HEALENIUM_SERVER_URL=http://healenium:7878
- HEALENIUM_SERVICE=http://healenium:7878
- IMITATE_SERVICE=http://selector-imitator:8000
- HLM_LOG_LEVEL=trace
volumes:
- ./logs/:/logs
networks:
- healenium
networks:
healenium:
name: healenium
`