Skip to content

Using logger with playwright-python #440

@amittendulkar

Description

@amittendulkar

I can currently get logger output on screen using DEBUG=pw:api environment variable.

However, it is possible to get the output to a file specified by the caller using the logging module?

For e.g., I am building a custom RobotFramework library and want the Playwright logging to get merged into RobotFramework HTML log output.

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