-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Double click does not work with Firefox / Marionette #77
Comments
i have created a @Keyword in Katalon, but work only with chrome `
` this work on IE, FF e Chrome |
Thanks for the tip |
Due to mozilla/geckodriver#661
This is corrected in Firefox 59 but we cannot wait until that version
See workaround
private void doubleClickWithJavascript(WebElement element) { String jsCode = "var evObj = new MouseEvent('dblclick', {bubbles: true, cancelable: true, view: window});"; jsCode += " arguments[0].dispatchEvent(evObj);"; driver.executeScript(jsCode, element); }
workaround should be possible on a per-method / per browser version basis
In
HTMLElement
class, add a IF when some workaround has to be added (e.g: call javascript instead of native call)The text was updated successfully, but these errors were encountered: