I want to try the new chromium headless, but the popup event doesn't work. My test involves the Paypal payment which will have a payal popup window. It works fine in browser mode and chromium headless shell mode.
Expected behavior
const popupPromise = this.page.waitForEvent("popup");
should be able to get the popup event after the Paypal button is clicked.
Actual behavior
TimeoutError: page.waitForEvent: Timeout 60000ms exceeded while waiting for event "popup"
=========================== logs ===========================
waiting for event "popup"
@TerenceTian625 Unfortunately, we won't be able to help without a repro. If you cannot share a repro, I'd recommend debugging yourself in --headed mode - it should be very close to the new headless mode.
Version
1.49
Steps to reproduce
I want to try the new chromium headless, but the popup event doesn't work. My test involves the Paypal payment which will have a payal popup window. It works fine in browser mode and chromium headless shell mode.
Expected behavior
const popupPromise = this.page.waitForEvent("popup"); should be able to get the popup event after the Paypal button is clicked.
Actual behavior
TimeoutError: page.waitForEvent: Timeout 60000ms exceeded while waiting for event "popup" =========================== logs =========================== waiting for event "popup"
Additional context
No response
Environment