public void clickOnWebElement ( WebElement webElement ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "clickOnWebElement(" + webElement + ")" ) ; } if ( webElement == null ) Assert . fail ( "WebElement is null and can therefore not be clicked!" ) ; clicker . clickOnScreen ( webElement . getLocationX ( ) , webElement . getLocationY ( ) , null ) ; }
Clicks the specified WebElement .