@Test
public void lame() {

	WebDriver driver = DriverFactory.getDriver();
    driver.get("http://www.google.ie");
    String html = driver.getPageSource();
    driver.findElement(org.openqa.selenium.By.name("q")).sendKeys("automationrockstars\n");
    WebElement d = new FluentWait<SearchContext>(driver)
            .withTimeout(5, TimeUnit.SECONDS)
            .until(new Function<SearchContext, WebElement>() {
                @Nullable
                @Override
                public WebElement apply(@Nullable SearchContext searchContext) {
                    return searchContext.findElement(org.openqa.selenium.By.className("g"));
                }
            });
    DriverFactory.closeDriver();
}