Skip to content

[Feature]: cdpSession does not have a timeout waiting mechanism.Β #1810

@OnePunch1

Description

@OnePunch1

πŸš€ 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions