def setup(self): self.driver = init_driver() self.network_page = NetworkPage(self.driver)
def network(self): return NetworkPage(self.driver)
def setup(self): self.driver = base.base_driver.init_driver() self.network_page = NetworkPage(self.driver)
def setup(self): # 初始化手机驱动 self.driver = get_driver(page.setting_appPackage, page.setting_appActivity) self.networkPage = NetworkPage(self.driver)
def setup(self): self.driver = Testbase() self.network_page = NetworkPage(self.driver) self.network_page.click_more() self.network_page.click_network() self.network_page.click_first_network()
def setup(self): basedriver = BaseDriver() driver = basedriver.init_driver() self.networkpage = NetworkPage(driver)
def setup(self): self.network_page = NetworkPage(android_driver())