Skip to content

[Feature]: natively support consoleapi in none debugging scenario #36772

@peteryongzhong

Description

@peteryongzhong

🚀 Feature Request

Allowing consoleAPIs to be injected programmatically from creating a new browserContext

Example

No response

Motivation

There is no doubt that the playwright consoleAPI is quite powerful. However, right now it is only injected on debugMode being console, which by #36771 could not be used a la carte.

If there is an option in the browserContext to have console APIs injected without setting the debugmode, developers get a wealth set of APIs for free.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions