public void waitForElementPresent(final By by, final int maximumSeconds) {
		WebDriverWait wait = new WebDriverWait(driver, maximumSeconds);
		wait.until(ExpectedConditions.presenceOfElementLocated((by)));
	}
public void waitForElementPresent ( final By by , final int maximumSeconds ) { WebDriverWait wait = new WebDriverWait ( driver , maximumSeconds ) ; wait . until ( ExpectedConditions . presenceOfElementLocated ( ( by ) ) ) ; }
Waits until an element will be displayed into the page.

@param by
the method of identifying the element
@param maximumSeconds
maximum number of methods to wait for the element to be
present