@@ -0,0 +1,1178 @@
+package fiftyPlus.pages;%0A%0A%0Aimport org.junit.Assert;%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.support.ui.LoadableComponent;%0A%0Aimport framework.controls.Button;%0Aimport framework.controls.GenericHtmlElement;%0Aimport framework.controls.Link;%0Aimport framework.controls.Page;%0Aimport framework.controls.TextBox;%0Aimport framework.controls.interfaces.Form;%0Aimport framework.utilities.ObjectMap;%0A%0Apublic class Thankyou extends Page %7B%0A%0A%09private ObjectMap map;%0A%0A%09private WebDriver driver;%0A    private String frameTitle = %22Thanks for buying our 50 plus plan%22;%0A%09%0A%09private GenericHtmlElement html_heading;%0A%09%0A%09public Thankyou(WebDriver driver) %7B%0A%09%09this.driver = driver;%0A%09%0A%09%09map = new ObjectMap(%22Thankyou.properties%22);%0A%0A%09%09try %7B%0A%09%09%09html_heading = new GenericHtmlElement(driver, map.getLocatorFromMap(%22html_heading%22));%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%0A%09%7D%0A%09%0A%09public String getTitle() %7B%0A%09%09%0A%09%09int i = 0;%0A%09%09%0A%09%09while (!driver.getPageSource().contains(frameTitle)& i%3C 10) %7B%0A%09%09%09try %7B%0A%09%09%09%09Thread.sleep(1000);%0A%09%09%09%09i++;%0A%09%09%09%09%0A%09%09%09%7D catch (InterruptedException e) %7B%0A%09%09%09%09// TODO Auto-generated catch block%0A%09%09%09%09e.printStackTrace();%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return frameTitle;%0A%09%7D%0A%0A%7D%0A

Create GenericHtmlElement.java