Skip to content

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

chore: bringing back paused=true

Pavelcccf3f7248f5
diff --git a/src/dom.ts b/src/dom.ts
index 951c1e47f4..e54186ad50 100644
--- a/src/dom.ts
+++ b/src/dom.ts
@@ -246,6 +246,7 @@ export class ElementHandle<T extends Node = Node> extends js.JSHandle<T> {
let paused = false;
try {
await this._page._delegate.setActivityPaused(true);
+ paused = true;
if (typeof skipStableCheck === 'function')
await skipStableCheck();