gemini-testing / gemini

💀💀💀[DEPRECATED] Use hermione
https://github.com/gemini-testing/hermione
MIT License
1.5k stars 149 forks source link

select change event not firing #929

Open withinsight opened 6 years ago

withinsight commented 6 years ago

Can't seem to get Gemini to select an option in an HTML select, using either the keyboard, or click events. I've tried only keyboard (tabbing to the select, then only keyboard commands to select the option), only mouse (clicking the select, clicking the option), and neither seem to reach the option.

I'm aware of the change event firing only when a user clicks an option, or focus is removed from the select. Neither of these trigger the change event either.

Output of gemini --version: 5.7.0 Test source code:

actions.waitForElementToShow('#selectID', 100000);
actions.focus('#selectID');
actions.sendKeys(gemini.DOWN);
actions.click('option:nth-child(2)');

Result: Gemini opens the select, but does not select the option. ...

Expected behaviour: Gemini selects the proper option. ...