Issue
driver.findElement(By.name("loginfmt")).sendKeys("[email protected]");
driver.findElement(By.className("button_primary")).click();
driver.findElement(By.id("i0118")).sendKeys("test@123");
driver.findElement(By.xpath("//input[@type='submit']")).click();
Using the above line of code was trying to sign-in but action is performing and stuck at the password page.
Solution
Try using Webdriver wait before entering the password and before clicking the sign in Button
Answered By - Santhosh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.