I am trying to set a dropdown value using javascript in selenium IDE, but not able to figure out which selenium command to use.
Selenium IDE command to execute a javascript statement: runScript
with the javascript statement as argument.
Example (can be run on Google startpage):
<tr> <td>runScript</td> <td>document.getElementById('searchText').setAttribute("value", "hello");</td> <td></td> </tr>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With