+1 vote
by
You need to simulate double click, preferably through the built-in code ,,double click mouse test page" or through browser code.

1 Answer

+1 vote
by
Create and call the double click event
// создаем новое событие
var evt = new Event('dblclick');
// будем дабл-кликать по элементу с Id - "test"
var button = document.getElementById('test');
// здесь все и происходит!
button.dispatchEvent(evt);
real example : snippet
...