I'm working on a chrome extension and I'm curious how to double click DOM
When I want to just 1 click I use this function
document.getElementById('foo').click();
But some elements on a website needs a double click to be triggered
So Is there any method to do that with javascript?