Skip to content

Commit 6e9ae95

Browse files
authored
fix(Playwright): removes a redundant asynchronous initialization call of selector engines (#5206)
1 parent 05396d5 commit 6e9ae95

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/helper/Playwright.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,6 @@ class Playwright extends Helper {
360360
// override defaults with config
361361
this._setConfig(config)
362362

363-
// Call _init() to register selector engines - use setTimeout to avoid blocking constructor
364-
setTimeout(() => {
365-
this._init().catch(console.error)
366-
}, 0)
367363
}
368364

369365
_validateConfig(config) {

0 commit comments

Comments
 (0)