I have a <select>
with a few <option>
s that I am able to select in Selenium IDE with the select
command.
<td>select</td>
<td>//div[3]/div/div/div/div[2]/select</td>
<td>value=38</td>
Great. (these are recipients for an internal email message)
But, apparently our website sends a $("select").trigger("change")
when a user clicks an option from the drop-down list. So even though I can select what I need, and have it show correctly on the page, when I try to send this message, I trip an error saying "you must select a recipient". I asked our dev that builds the message form and he said once a user clicks a recipient, that click also sends a $("select").trigger("change")
command.
I've tried this Selenium command:
<td>runScript</td>
<td>$("select").trigger("change")</td>
<td></td>
but it does nothing. You can see what I'm trying to do here... any ideas how to send this trigger?