public WebElement searchForWebElement ( final By by , int minimumNumberOfMatches ) { if ( minimumNumberOfMatches < 1 ) { minimumNumberOfMatches = 1 ; } List < WebElement > viewsFromScreen = webUtils . getWebElements ( by , true ) ; addViewsToList ( webElements , viewsFromScreen ) ; return getViewFromList ( webElements , minimumNumberOfMatches ) ; }
Searches for a web element .