While using Puppeteer, a common error that occurs when some element is clicked is
Node is either not visible or not an HTMLElement
this has been addressed and solved here
however, the same solution fails for me when I try to simulate a double click using jQuery's dbclick()
method
await page.evaluate(() => {
document.querySelector('.some-selector').dbclick();
});
error: TypeError: document.querySelector(...).dbclick is not a function
why???