Selenium

Selenium script to login gmail and logout successfully

This blog has moved to the new address :

http://kanoki.org/2017/05/18/selenium-script-to-login-gmail-and-logout-successfully/

 

Advertisements
Selenium

Selenium

Check my New Blog: http://kanoki.org

Running chrome selenium driver

package mypackage;

import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver; 

public class myclass {

	public static void main(String[] args) {

		System.setProperty("webdriver.chrome.driver", "C:\\selenium-java-2.35.0\\chromedriver_win32_2.2\\chromedriver.exe");

		 WebDriver driver = new ChromeDriver();
         driver.get("http://www.google.com");
	}

}