package com.seleniumtests.webpage;

import com.seleniumtests.webelements.PageObject;
import com.seleniumtests.webelements.TextFieldElement;

import org.openqa.selenium.By;


/**
 * Created by tarun on 3/22/16.
 */
public class GoogleHomePage extends PageObject {

    private static final TextFieldElement searchTextBox = new TextFieldElement(
            "search Text Box", By.name("q"));


    public GoogleHomePage() throws Exception {
        super(searchTextBox);
    }
}

@@ -467,11 +467,106 @@
 );%0A    %7D
+%0A%0A    public boolean isSearchBoxDisplayed() %7B%0A        return searchTextBox.isDisplayed();%0A    %7D
 %0A%7D%0A

add API to check presence of google search box