public boolean table ( ) { boolean isTable = false ; try { WebElement webElement = element . getWebElement ( ) ; if ( "table" . equalsIgnoreCase ( webElement . getTagName ( ) ) ) { isTable = true ; } } catch ( NoSuchElementException e ) { log . info ( e ) ; } return isTable ; }
Determines whether the element is a table or not .