Create firefox selenium WebDriver - Java HTML

Java examples for HTML:selenium

Description

Create firefox selenium WebDriver

Demo Code



import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

public class Webdriverpackage {

     public static void main(String[] args) {
          // HOW TO OPEN A WEBSITE
         WebDriver driver = new FirefoxDriver();
         driver.get("https://www.facebook.com/");

     }/*w  w  w  . ja va  2s.  c o  m*/

}

Related Tutorials