Set a value on an <input>
or a <select>
and trigger a change
event
browser.setValueAndTrigger("#a-select-or-input", "some value")
Author: maxgalbu
- String selector - jQuery selector for the element
- String value - value of the element to be set
- Function [callback] - function that will be called after the change event is triggered
- String [message] - message to display