void function ( int arg0 ) { String loc0 = String . valueOf ( arg0 ) ; for ( WebElement loc1 : getOptions ( ) ) { if ( loc0 . equals ( loc1 . getAttribute ( "srini_string" ) ) ) { setSelected ( loc1 , true ) ; return ; } } throw new NoSuchElementException ( "srini_string" + arg0 ) ; }
select the option at the given index . this is done by examining the `` index '' attribute of an element , and not merely by counting . concode_field_sep boolean isMulti concode_elem_sep WebElement element concode_field_sep void deselectAll concode_elem_sep void selectByVisibleText concode_elem_sep void deselectByIndex concode_elem_sep void setSelected concode_elem_sep void deselectByValue concode_elem_sep boolean isMultiple concode_elem_sep void deselectByVisibleText concode_elem_sep List<WebElement> getOptions concode_elem_sep void selectByValue concode_elem_sep List<WebElement> getAllSelectedOptions concode_elem_sep WebElement getFirstSelectedOption concode_elem_sep String getLongestSubstringWithoutSpace