Skip to content

Instantly share code, notes, and snippets.

@teal33t
Created February 29, 2020 21:15
Show Gist options
  • Save teal33t/5e98382ea3b58e2545fd398eaccffdb0 to your computer and use it in GitHub Desktop.
Save teal33t/5e98382ea3b58e2545fd398eaccffdb0 to your computer and use it in GitHub Desktop.
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