Skip to main content

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

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


Reply