theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 309 forks source link

Incorrect WebDriver feature flags are being set for Firefox #1093

Open jason0x43 opened 4 years ago

jason0x43 commented 4 years ago

In Intern 4.x and 5-pre, the pre-set feature capabilities, used when fixSessionCapabilities is not false, are incorrect for current versions of Firefox. For example, Firefox + geckodriver supports mouse commands such as /moveto, but the brokenMouseEvents flag is set, so moveMouseTo ends up using simulated events unnecessarily.

Re-evaluate the presets for Firefox, and either fix or disable them for current Firefox (which may not need presets).