Created
February 29, 2020 21:15
-
-
Save teal33t/5e98382ea3b58e2545fd398eaccffdb0 to your computer and use it in GitHub Desktop.
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
def setUpProfile(driver): | |
driver.profile = webdriver.FirefoxProfile() | |
driver.profile.add_extension("buster_captcha_solver_for_humans-0.6.0.xpi") # add buster extension path | |
driver.profile.set_preference("security.fileuri.strict_origin_policy", False) # disable Strict Origin Policy | |
self.profile.update_preferences() # Update profile with new configs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment