doubleClick

Double-click on an element.

Usage#
$(selector).doubleClick()
Examples#
example.html
<button id="myButton" ondblclick="document.getElementById('someText').innerHTML='I was dblclicked'">Click me</button>
<div id="someText">I was not clicked</div>
doubleClick.js
it('should demonstrate the doubleClick command', () => {
const myButton = $('#myButton')
myButton.doubleClick()
const value = myButton.getText()
assert(value === 'I was dblclicked') // true
})