示例#1
0
 def setup(self):
     self.driver = init_driver()  # 获取驱动对象
     self.page_factory = PageFactory(self.driver)  # 工厂类实例对象
示例#2
0
 def setup(self):
     self.driver = init_driver()  # 驱动对象
     self.factory = PageFactory(self.driver)  # 工厂类对象
 def setup_class(self):
     self.driver = init_driver()  # 驱动对象获取
     self.page_factory = PageFactory(self.driver)  # 工厂类实例化
示例#4
0
 def setup(self):
     self.driver = init_driver()
     self.page_factory = PageFactory(self.driver)
 def setup(self):
     # 驱动对象的获取
     self.driver = init_driver()
     self.page_factory = PageFactory(self.driver)
     self.base_page = BasePage(self.driver)