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 .