def login_with_valid_user_credetials(): global driver driver = base.launch_browser() logger.info("browser launched and navigate to Para Bank home page") accounts_page.fill_username_fld(driver) logger.info("Filled username field") accounts_page.fill_password_fld(driver) logger.info(("Filled password field")) accounts_page.click_login_btn(driver) logger.info("Clicked on Login button") time.sleep(2)
def login_with_valid_credentials_and_navigate_to_customer_care_services_page(): global driver driver = base.launch_browser() logger.info("browser launched and navigate to Para Bank home page") account_page.fill_username_fld(driver) logger.info("Filled username field") account_page.fill_password_fld(driver) logger.info(("Filled password field")) account_page.click_login_btn(driver) logger.info("Clicked on Login button") time.sleep(5) page.clk_customer_care_icon(driver) logger.info("Clicked on Customer Care Services Icon")
def navigate_to_registration_page(): global driver driver = base.launch_browser() logger.info("browser launched and navigate to Para Bank home page") register.clk_register_btn(driver) logger.info("Clicked on Register button")