Skip to content
Advertisement

How to login using Selenium

I have one web site like www.abc.com in this I need to add Email and press continue and in second page I need to add password and check the check box so how can I enter the password in 2nd page.

I tired with :

JavaScript

Advertisement

Answer

Before getting the web element you have to validate the element is fully loaded and is clickable / visible.
Also in that specific site you have to click elements in order to insert the email and password.
Your code should look like this:

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