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");
	}

}