Protocol error (Input.dispatchMouseEvent): Target closed

Hi guys, has anyone already experienced the issue with puppeteer, “Protocol error (Input.dispatchMouseEvent): Target closed.” It is happening after popup is showed up…it seems the popup is not waiting for confirmation/cancellation, but it’s immediately closed and also close the webpage (what is expecting to happen after confirmation) with the error mentioned above