Login into Gmail Account Using Web Driver
PRACTICAL 7: Login into Gmail Account Using Web Driver In the previous post, we had discussed about the installation of Java, and configuration of Eclipse with selenium WebDriver. Now here, we will be creating a small Java script in which we will be doing automated login and logout of Gmail Account. We will be following steps: - 1. Importing all the essential libraries. 2. Initialize Chrome Driver 3. Open Gmail using get( ) function 4. Find Placeholder Element using findElement( ) function 5. Send keys to placeholder using sendkeys( ) function 6. Repeat the steps 4&5 for entering password 7. Press Submit Button
Comments
Post a Comment