How to double click an element on Selenium Webdriver using JavaScript for Safari
问题 I'm facing a problem double clicking an element on Safari using Java / Webdriver 2.48. The tests are working fine on IE, Chrome, and Firefox but Actions are not supported on Safari. Currently I'm doing something like this executor.executeScript("arguments[0].dblclick();", element); or executor.executeScript("arguments[0].dblclick;", element); but is not working. Here is the error arguments[0].dblclick is not a function. (In 'arguments[0].dblclick()', 'arguments[0].dblclick' is undefined)