selectByIndex
Select option with a specific index.
Usage
1 | client.selectByIndex(selectElem,index).then(callback); |
Parameters
Param | Type | Details |
---|---|---|
selectElem | String | select element that contains the options |
index | Number | option index |
Example
1 | <select id="selectbox"> |
1 | client |