Professional Documents
Culture Documents
List;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;
//chromedriver.exe
System.setProperty("webdriver.chrome.driver", "C://work//chromedriver.exe");
driver.findElement(By.cssSelector("#email")).sendKeys("emailaddress");
driver.findElement(By.xpath("//*[@id='pass']")).sendKeys("password");
driver.findElement(By.xpath("//*[@id='login_form']/table/tbody/tr[3]/td[2]/div/a"))
.click();
}
}