public void selectByIndex ( String [ ] indexes ) { for ( int i = 0 ; i < indexes . length ; i ++ ) { selectByIndex ( Integer . parseInt ( indexes [ i ] ) ) ; } }
Select the option at the given indexes . This is done by examing the index attribute of an element and not merely by counting .