I want to select an entry into a select. How I can do that with CasperJS.
Some information you need to know :
- I can't modify the page. My task is only to write the test.
- The select markup is not included in a form.
- I cannot use the
document.querySelector(MY_SELECT).selectedIndex = X;
method because changing the select (with normal behaviour) throw some event I need, and they are not thrown with simple affectation.