We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4270372 commit bc1c500Copy full SHA for bc1c500
lib/helper/Playwright.js
@@ -642,6 +642,9 @@ class Playwright extends Helper {
642
async _after() {
643
if (!this.isRunning) return
644
645
+ // Clear popup state to prevent leakage between tests
646
+ popupStore.clear()
647
+
648
if (this.isElectron) {
649
this.browser.close()
650
this.electronSessions.forEach(session => session.close())
lib/helper/Puppeteer.js
@@ -330,6 +330,9 @@ class Puppeteer extends Helper {
330
331
332
333
334
335
336
// close other sessions
337
const contexts = this.browser.browserContexts()
338
const defaultCtx = contexts.shift()
0 commit comments