예제 #1
0
 def setup_class(self):
     """声明driver"""
     # 实例化页面类
     self.sp_obj = SearchPage()
예제 #2
0
 def setup_class(self):
     # 实例化页面类
     self.sp_obj = SearchPage()
예제 #3
0
    def setup_class(self):

        self.sp_obj = SearchPage()
예제 #4
0
 def search(cls):
     return SearchPage()
예제 #5
0
파일: page.py 프로젝트: 18080311410/demo_03
 def get_search(self):
     """返回搜索页面对象"""
     return SearchPage(self.driver)
예제 #6
0
 def get_search(cls):
     """返回显示页面实例化对象"""
     return SearchPage()
예제 #7
0
 def get_search_page(cls):
     return SearchPage()