public boolean waitForWebElement(By by, int timeout, boolean scroll){
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "waitForWebElement("+by+", "+timeout+", "+scroll+")");
		}
		
		return (waiter.waitForWebElement(by, 0, timeout, scroll) != null);
	}
public boolean waitForWebElement ( By by , int timeout , boolean scroll ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "waitForWebElement(" + by + ", " + timeout + ", " + scroll + ")" ) ; } return ( waiter . waitForWebElement ( by , 0 , timeout , scroll ) != null ) ; }
Waits for a WebElement matching the specified By object.

@param by the By object. Examples are: {@code By.id("id")} and {@code By.name("name")}
@param timeout the the amount of time in milliseconds to wait
@param scroll {@code true} if scrolling should be performed
@return {@code true} if the {@link WebElement} is displayed and {@code false} if it is not displayed before the timeout