healenium / healenium-web

Self-healing library for Selenium Web-based tests
Apache License 2.0
169 stars 40 forks source link

I am not able to proceed further after detecting the locator #172

Closed priyanka748 closed 2 years ago

priyanka748 commented 2 years ago

Describe the problem

In my code..

If i send keys in the text box.. after that it is getting clicked.. but not proceeding further. ie not navigating to the next page here first code of line is getting executed, even second too but m not able to see the automation page.. which is not the case whn i run normally without any changing the xpath or name in test browser

Cape Cture

Healenium Web version

healenium-web 3.2.1

Healenium Backend version

healenium-back version 3.2.0

Selenium version

4.1.1

Platform

Java

Properties file

No response

Logs appeared during using Healenium

Session ID: 049c792824779e9c3f5e9501fb46e60a
Trying to heal...
[main] WARN com.epam.healenium.processor.SaveHealingResultsProcessor - Using healed locator: Scored(score=0.9880252100840337, value=By.cssSelector: input.gLFyf.gsfi)

Additional context

No response

ElenaStepuro commented 2 years ago

Hello @priyanka748 could you please describe test steps and what do you expect?

priyanka748 commented 2 years ago

1) Launch the browser 2) go to www.google.com 3) enter automation with the healing on 4) click on search

Here , till 3rd step everything is working fine.. the locator is found by healenium.. But whn it press click after that.. then automation getting removed and return nothing.. a empty text box

ElenaStepuro commented 2 years ago

@priyanka748 the same steps works fine for me and text box is not empty after press click. Possibly you need to check your browser settings...

priyanka748 commented 2 years ago

Can you plzz mention which settings I have to check?

priyanka748 commented 2 years ago

nd are you able to get into next page. image

priyanka748 commented 2 years ago

Version 97.0.4692.99 This chrome browser m using

priyanka748 commented 2 years ago

Please let me know in settings what would i check?

ElenaStepuro commented 2 years ago

@priyanka748 I think you can read this article: https://support.google.com/chrome/thread/10251942/blank-page-from-google-search-but-page-context-is-still-clickable?hl=en Looks like in your example)

However, this is not healenium issue. In this case, I'll close the issue

priyanka748 commented 2 years ago

Thanks @ElenaStepuro