Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Selenium WebDriver example using Firefox and it driver
public class FirefoxTest {
@Test
public void openPageUsingFirefox() {
System.setProperty("webdriver.gecko.driver", "/path/to/firefox");
WebDriver driver = new FirefoxDriver();
driver.get("http://eliasnogueira.com");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment