def auth(driver): page = BasePage(driver) page.auth(page.LOGIN, page.PASSWORD)
def auto_auth(driver): page = BasePage(driver) page.auth(page.EMAIL, page.PASSWORD) return CabinetPage(page.driver)
def auth(driver): page = BasePage(driver) page.auth(page.LOGIN, page.PASSWORD)
def auto_auth(driver): page = BasePage(driver) page.auth(page.EMAIL, page.PASSWORD) return CabinetPage(page.driver)