Created
February 20, 2016 10:59
-
-
Save angelovstanton/0100ac8c0047d4637270 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
FirefoxProfileManager profileManager = new FirefoxProfileManager(); | |
FirefoxProfile profile = new FirefoxProfile(); | |
profile.SetPreference( | |
"general.useragent.override", | |
"Mozilla/5.0 (BlackBerry; U; BlackBerry 9900; en) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.1.0.346 Mobile Safari/534.11+"); | |
this.driver = new FirefoxDriver(profile); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment