You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have extended test from playwright-test-coverage to define a browser fixture. But I run into an error:
Error: page.evaluate: TypeError: callbacks.set is not a function
at <anonymous>:24:64
at new Promise (<anonymous>)
at globalThis.<computed> (<anonymous>:24:21)
at eval (eval at evaluate (:234:30), <anonymous>:2:16)
at UtilityScript.evaluate (<anonymous>:236:17)
at UtilityScript.<anonymous> (<anonymous>:1:44)
I found that it can be avoided by just adding a closure to the callback function of page.evaluate:
I have extended
test
from playwright-test-coverage to define a browser fixture. But I run into an error:I found that it can be avoided by just adding a closure to the callback function of page.evaluate:
The text was updated successfully, but these errors were encountered: