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
Evaluation failed: Error: It looks like undefined was passed instead of a matcher. Did you do something like getByText(undefined)?
at assertNotNullOrUndefined2 (__puppeteer_evaluation_script__:2632:17)
at matches2 (__puppeteer_evaluation_script__:2653:9)
at __puppeteer_evaluation_script__:15045:152
at Array.filter (<anonymous>)
at queryAllByText3 (__puppeteer_evaluation_script__:15045:135)
at __puppeteer_evaluation_script__:14733:23
at Object.getAllByText (__puppeteer_evaluation_script__:14765:21)
at anonymous (__puppeteer_evaluation_script__:19475:31)
at ExecutionContext._evaluateInternal (node_modules/puppeteer/src/common/ExecutionContext.ts:273:13)
We had a more complex matcher, but even just passing in () => true throws the same error.
The text was updated successfully, but these errors were encountered:
Yeah this is going to be rough, we can't serialize functions over the puppeteer boundary easily and even if we end up doing this you won't get access to the closure like you would normally expect :/
When calling the following code on windows and Mac, using different node versions, including v16:
We get the following Error:
We had a more complex matcher, but even just passing in
() => true
throws the same error.The text was updated successfully, but these errors were encountered: