class BackPage: def __init__(self, driver): self.path = yamlpath self.driver = driver self.operate = Operate(self.path, self.driver) def operatepe(self): self.operate.check_operate_type() def home(self): self.operate.back_home()
def __init__(self, driver): self.path = yamlpath self.driver = driver self.operate = Operate(self.path, self.driver)