Created
February 29, 2020 21:14
-
-
Save teal33t/7fa6b3241351cc8d99d82a6b7418ccc4 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
# Setup settings | |
def setUp(self): | |
self.setUpProfile() # for setup profiles | |
self.setUpOptions() # options for running gecko | |
self.setUpCapabilities() # enable some abilities like marionette | |
self.setUpProxy() # setup proxy if you get ban | |
self.driver = webdriver.Firefox(options=self.options, capabilities=self.capabilities, firefox_profile=self.profile) # initialize web driver |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment