Skip to content
Advertisement

How to Validate Multiple screen using selenium with eclilpse?

I am new to selenium. I am validating two screens, Login and Password screens using selenium. The First screen is Login. If the username is correct then it will move to next screen that is Password. But in the Password screen the driver not putting the password into the input box, nothing is happening. It stops at Password screen. Any solution for that ? my code is below. It is working for Login screen.

JavaScript

}

Advertisement

Answer

It is taking time to load the next page element use WebDriverWait() and wait for elementToBeClickable()

JavaScript
User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement