Skip to content

Instantly share code, notes, and snippets.

@ksakae1216
Last active June 8, 2016 01:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksakae1216/289638e9d501e39ac16465e16fb3b842 to your computer and use it in GitHub Desktop.
Save ksakae1216/289638e9d501e39ac16465e16fb3b842 to your computer and use it in GitHub Desktop.
package webDriverSample;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
public class SeleniumWebDriver {
public static void main(String[] args) {
System.setProperty("webdriver.chrome.driver", "driver/chromedriver");
WebDriver driver = new ChromeDriver();
driver.get("https://www.google.co.jp/");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment