Skip to content

Instantly share code, notes, and snippets.

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