Пример #1
0
 def __init__(self,i):
     dr = BaseDriver()
     self.driver =dr.android_driver(i)
     self.loc=GetByLocal(self.driver)
Пример #2
0
 def __init__(self, driver):
     # base_driver = BaseDriver()
     self.driver = BaseDriver.android_driver(driver)
     self.get_by_local = ByLocal(
         self.driver)  #GetByLocal:获取定位信息,如:id,ClassName