def del_products(driver): obj = page.ProductsPage(driver).del_product() print(obj) if obj: return True else: return False
def check_success(driver): obj = page.ProductsPage(driver).check_success() print(obj) if obj: return True else: return False
def edit_product(driver): obj = page.ProductsPage(driver).edit_product("LOKILA") print(obj) if obj: return True else: return False
def add_products(driver): obj = page.ProductsPage(driver).create_product("nokia", "nokia", "device", "nokia n97") print(obj) if obj: return True else: return False