larsheylen

Results 1 comments of larsheylen

I typically handle this situation by using a `Promise.race()` construction like the following: ``` await Promise.race([ page.getByTestId("example-elem").waitFor({ timeout: 6000 }), page.waitForTimeout(5000) ]); ``` This way either the element you are...