Пример #1
0
 def __init__(self, name):
     if name == 'app':
         self.driver = Driver.get_app_driver()
     elif name == 'mp':
         self.driver = Driver.get_mp_driver()
     elif name == 'mis':
         self.driver = Driver.get_mis_driver()
Пример #2
0
 def __init__(self, tag):
     if tag == "app":
         self.driver = Driver.get_app_driver()
     if tag == "mp":
         self.driver = Driver.get_mp_driver()
     if tag == "mis":
         self.driver = Driver.get_mis_driver()