public void enterTextInWebElement ( By by , String text ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "enterTextInWebElement(" + by + ", \"" + text + "\")" ) ; } if ( waiter . waitForWebElement ( by , 0 , Timeout . getSmallTimeout ( ) , false ) == null ) { Assert . fail ( "WebElement with " + webUtils . splitNameByUpperCase ( by . getClass ( ) . getSimpleName ( ) ) + ": '" + by . getValue ( ) + "' is not found!" ) ; } webUtils . enterTextIntoWebElement ( by , text ) ; }
Enters text in a WebElement matching the specified By object .