Created
March 20, 2015 13:58
-
-
Save ddavison/8f7b207e991f655b6b64 to your computer and use it in GitHub Desktop.
firefox profile disable java selenium
This file contains hidden or 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
| import os | |
| from selenium import webdriver | |
| fp = webdriver.FirefoxProfile() | |
| fp.set_preference("extensions.blocklist.enabled",False) | |
| browser = webdriver.Firefox(firefox_profile=fp) | |
| browser.get("http://pypi.python.org/pypi/selenium") | |
| browser.find_element_by_partial_link_text("selenium-2").click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment