Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix: remove `window.stop()` from `page.setContent()` implementation (#26886)

Andrey Lushnikov9105a20ac47e
diff --git a/packages/playwright-core/src/server/frames.ts b/packages/playwright-core/src/server/frames.ts
index f076c4380a..271f3ff99d 100644
--- a/packages/playwright-core/src/server/frames.ts
+++ b/packages/playwright-core/src/server/frames.ts
@@ -896,7 +896,6 @@ export class Frame extends SdkObject {
});
});
const contentPromise = context.evaluate(({ html, tag }) => {
- window.stop();
document.open();
console.debug(tag); // eslint-disable-line no-console
document.write(html);