From 4b5f4c1fd2784823c1219f375ce4527478576826 Mon Sep 17 00:00:00 2001 From: Samuel SAINT-OMER Date: Tue, 23 Sep 2025 15:20:32 +0200 Subject: [PATCH] refactor(Playwright): remove asynchronous initialization of selector engines in constructor --- lib/helper/Playwright.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/helper/Playwright.js b/lib/helper/Playwright.js index 6c7df45c0..ff0118793 100644 --- a/lib/helper/Playwright.js +++ b/lib/helper/Playwright.js @@ -360,10 +360,6 @@ class Playwright extends Helper { // override defaults with config this._setConfig(config) - // Call _init() to register selector engines - use setTimeout to avoid blocking constructor - setTimeout(() => { - this._init().catch(console.error) - }, 0) } _validateConfig(config) {