-
-
Save kmaria/1a61ce6bfa4064fc73c72d5f842992dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System.setProperty("webdriver.gecko.driver", SELENIUM_EXECUTABLE_DIR_NAME + SELENIUM_GECKO_DRIVER_EXECUTABLE); | |
DesiredCapabilities dc = DesiredCapabilities.firefox(); | |
FirefoxProfile profile = new FirefoxProfile(); | |
dc.setCapability(FirefoxDriver.PROFILE, profile); | |
dc.setCapability(FirefoxDriver.SystemProperty.DRIVER_USE_MARIONETTE, "true"); | |
Webdriver driver = new FirefoxDriver(dc); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment