def start(num_browsers): global browser, translator print('Opening Firefox...') browser.start(num_browsers) colorama.init() translator = Translator() print('Done!')
def setUp(self): self.driver = browser.start(main.get_env(), main.get_browser()) self.nicol = profiles.Profile(self.driver, 'nicol') self.patrick = profiles.Profile(self.driver, 'patrick') self.krabs = profiles.Profile(self.driver, 'krabs') self.squid = profiles.Profile(self.driver, 'squid') self.WDWait = WebDriverWait(self.driver, 10)
def setUp(self): self.driver = browser.start(main.get_env(), main.get_browser()) self.nicol = profiles.Profile(self.driver, 'nicol') self.faker = profiles.Profile(self.driver, 'faker') self.tester = profiles.Profile(self.driver, 'tester') self.fire = profiles.Profile(self.driver, 'fire') self.WDWait = WebDriverWait(self.driver, 10)
def run(): andrew = profiles.Profile( browser.start(main.get_env(), main.get_browser()), 'andrew') andrew.login() andrew.employee_page.on() filters = andrew.employee_page.get_filters()
def setUp(self): self.driver = browser.start(main.get_env(), main.get_browser()) self.nicol = profiles.Profile(self.driver, 'nicol') self.poli = profiles.Profile(self.driver) self.WDWait = WebDriverWait(self.driver, 10)
def setUp(self): self.driver = browser.start(main.get_env(), main.get_browser()) self.nicol = profiles.Profile(self.driver, 'nicol')
def setUp(self): self.driver = browser.start(main.get_env(), main.get_browser()) self.andrewS = profiles.Profile(self.driver, 'andrewSendmi')
def setUp(self): self.driver = browser.start(main.get_env(), main.get_browser()) self.cheeks = profiles.Profile(self.driver, 'cheeks') self.lili = profiles.Profile(self.driver, 'lili') self.nicol = profiles.Profile(self.driver, 'nicol')
def setUp(self): self.driver = browser.start(main.get_env(), main.get_browser()) self.cheeks = profiles.Profile(self.driver, 'cheeks') self.alone6 = profiles.Profile(self.driver, 'alone6')
def setUp(self): self.driver = browser.start(main.get_env(),main.get_browser()) self.nicol = profiles.Profile(self.driver,'nicol') self.employee = profiles.Profile(self.driver, 'lili') self.assertTrue(self.nicol.env_loaded())