示例#1
0
    def setUp(self):
        # Setting up how we want Firefox to run
        utility = Utility()
        browser = utility.get_browser()

        self.driver = self.startBrowser(browser)
        self.driver.maximize_window()
        self.driver.set_page_load_timeout(200)
        self.driver.implicitly_wait(120)
示例#2
0
    def setUp(self):
        # Setting up how we want Firefox to run
        utility = Utility()
        browser = utility.get_browser()

        # self.driver = webdriver.Firefox(executable_path=r'Drivers\geckodriver.exe')
        self.driver = self.startBrowser(browser)
        self.driver.maximize_window()
        self.driver.set_page_load_timeout(200)
        self.driver.implicitly_wait(120)
示例#3
0
    def setUp(self):
        utility = Utility()
        browser = utility.get_browser()

        self.driver = self.startBrowser(browser)
        self.driver.maximize_window()
示例#4
0
 def setUp(self):
     # Setting up how we want Chrome to run
     utility = Utility()
     browser = utility.get_browser()
     self.driver = self.startBrowser(browser)
     self.driver.maximize_window()