def setUp(self): self.cm = common() self.driver.set_window_size(600, 750) self.driver.set_window_position(0, 0) self.driver.get(glb.url_signIn) self.pg_login = page_login(self.driver) self.pnl_friend = panel_friend(self.driver) self.pg_profile = page_profile(self.driver) self.pg_header = page_header(self.driver) self.driver1 = webdriver.Firefox() self.driver1.set_window_position(650, 0) self.driver1.set_window_size(600, 750) self.driver1.get(glb.url_signIn) self.pg_login1 = page_login(self.driver1) self.pg_header1 = page_header(self.driver1) self.pnl_friend1 = panel_friend(self.driver1) self.pg_profile1 = page_profile(self.driver1)
def setUp(self): self.driver.maximize_window() self.wait = waitModule() self.cm = common() self.pg_login = page_login(self.driver, glb.url_signIn) self.pg_header = page_header(self.driver) self.pg_paypal = page_paypal(self.driver) self.pg_profile = page_profile(self.driver) self.tb_transaction = tab_transaction(self.driver) self.tab_gcoin = tab_gcoin(self.driver) self.pg_admin = page_admin(self.driver) self.pnl_preapproval = panel_preapproval(self.driver) self.page_invoice = page_invoice(self.driver)