public boolean waitForWebElement ( By by ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "waitForWebElement(" + by + ")" ) ; } return ( waiter . waitForWebElement ( by , 0 , Timeout . getLargeTimeout ( ) , true ) != null ) ; }
Waits for a WebElement matching the specified By object . Default timeout is 20 seconds .