private boolean isSelect ( String action , String expected ) { // wait for element to be displayed if ( ! is . select ( ) ) { reporter . fail ( action , expected , Element . CANT_SELECT + prettyOutput ( ) + NOT_A_SELECT ) ; // indicates element not an input return false ; } return true ; }
Determines if the element is a select .