package com.hello;
import java.util.Iterator;
import java.util.Set;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.Fi
public class GmailLogin {
public static void main(String[] args) throws InterruptedException {
// TODO Auto-generated method stub
System.setProperty("webdriver.
WebDriver driver =new FirefoxDriver();
driver.get("https://accounts.g
driver.findElement(By.id("Emai
driver.findElement(By.id("next
Thread.sleep(3000);
driver.findElement(By.id("Pass
driver.findElement(By.xpath(".
Thread.sleep(5000);
driver.findElement(By.xpath("/
Thread.sleep(10000);
driver.findElement(By.xpath("/
Thread.sleep(10000);
driver.findElement(By.xpath(".
driver.findElement(By.xpath(".
driver.findElement(By.xpath("/
driver.findElement(By.xpath("/
Thread.sleep(10000);
driver.findElement(By.xpath("/
}
}
==============================================================================
No comments:
Post a Comment