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
chore: don't run debugger on pause() (#11948)
Pavel Feldman9ce8572c7885
diff --git a/packages/playwright-core/src/client/page.ts b/packages/playwright-core/src/client/page.tsindex cda775ada8..bc3d1b6bcf 100644--- a/packages/playwright-core/src/client/page.ts+++ b/packages/playwright-core/src/client/page.ts@@ -644,9 +644,7 @@ export class Page extends ChannelOwner<channels.PageChannel> implements api.Page}async pause() {- if (!!require('inspector').url())- debugger; // eslint-disable-line no-debugger- else+ if (!require('inspector').url())await this.context()._channel.pause();}