-
Notifications
You must be signed in to change notification settings - Fork 296
[Feature]: cdpSession does not have a timeout waiting mechanism. #1810
Open
Labels
Description
🚀 Feature Request
Image
It don't rely on Supplier as a termination condition . Instead, it relies on WaitableResult - internally registering events through sendMessageAsync() via a callback mechanism.But if the browser never returns a message ⇒ waitable.isDone() is always false ⇒ while never exits ⇒ the thread hangs. So can PlayWright add a wait timeout mechanism?
Example
No response
Motivation
When multiple threads are tested, some threads may hang and not execute tasks.