Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix(BrowserContext): race between continue and close (#5729)
Max Schmittd311058245d9
diff --git a/src/client/browserContext.ts b/src/client/browserContext.tsindex 957d4dae93..6af746c49e 100644--- a/src/client/browserContext.ts+++ b/src/client/browserContext.ts@@ -79,7 +79,8 @@ export class BrowserContext extends ChannelOwner<channels.BrowserContextChannel,return;}}- route.continue();+ // it can race with BrowserContext.close() which then throws since its closed+ route.continue().catch(() => {});}async _onBinding(bindingCall: BindingCall) {