Last active
May 30, 2017 06:58
-
-
Save simad/89fbe12d33115bd357171b3bc9a41f4a 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
@Test | |
public void addFirefoxProfile() throws Exception { | |
DesiredCapabilities capabilities = DesiredCapabilities.firefox(); | |
FirefoxProfile fp = new FirefoxProfile(); | |
fp.setPreference(“browser.download.manager.showWhenStarting”, false); | |
capabilities.setCapability(FirefoxDriver.PROFILE, fp); | |
TestBank.navigateToSimplePage(capabilities); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment