Skip to main content
Navigator | Tier 3
May 25, 2022
Question

Login page keeps appearing

  • May 25, 2022
  • 1 reply
  • 45 views

So i am trying to do automation with a very simple steps

Open browser -> Go to website -> Login -> do stuff

 

But sometimes when doing login after filling ID and Password and clicking enter it goes back to when we are at the login page and of course this makes the automation failed. What could i possibly do to solve this problem

 

Example :

Login page -> filling ID And Pass -> Enter -> Back to Login Page

    1 reply

    Navigator | Tier 3
    May 25, 2022

    use if codition for window

    if new page doesn't exist and if object ex username filed is empty as should get property of this capture first