Created
April 23, 2014 19:18
-
-
Save otaviomedeiros/11228831 to your computer and use it in GitHub Desktop.
selenium firefox profile
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
profile = Selenium::WebDriver::Firefox::Profile.new | |
profile['browser.download.dir'] = "#{Rails.root.to_s}/tmp" | |
profile['browser.download.folderList'] = 2 | |
profile['browser.helperApps.neverAsk.saveToDisk'] = "text/ofx,application/ofx,application/x-ofx" | |
profile['pdfjs.disabled'] = true | |
profile['plugin.state.java'] = 2 # plugin java always active |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment