// check if title is displayed on page public Boolean getFormTitleVisiblity(IWebDriver driver) { helpers.HelperMethods helperMethods = new helpers.HelperMethods(); return(helperMethods.getTextVisiblity(driver, "Simple Form Submission")); }
// Check if subtitle is displayed public Boolean getSubTitleVisibility(IWebDriver driver) { helpers.HelperMethods helperMethods = new helpers.HelperMethods(); return(helperMethods.getTextVisiblity(driver, subtitle)); }