With this selenium automation tutorial, learn selenium webdriver, what is webdriver, selenium java download, how to install selenium webdriver, webdriver library and selenium commands.
Click Cc button to see subtitles in English. In Selenium 3, you should put code as below:
System.setProperty(“webdriver.gecko.driver”, “Path to WebDriver”); //as we set the path for IE driver
driver =new FirefoxDriver();
Also view Selenium IDE tutorial at