Skip to content

Playwright example not working with Playwright v1.52.0 #676

@mquandalle

Description

@mquandalle

Trying to the run the new Playwright support on MacOS https://gist.github.com/krichprollsch/9809bf7dccc6c132ed4b864d9ea39efc but I get the following exception:

node:internal/modules/run_main:122
    triggerUncaughtException(
    ^

locator.textContent: Target page, context or browser has been closed
Call log:
  - waiting for locator('h1')

    at /Users/mquandalle/lightpanda-test/playwright-demo.js:10:40

Node.js v22.12.0

On the server :

$ ./lightpanda
info(telemetry): telemetry enabled
info(server): accepting new conn...
info(server): client connected
info(page): GET https://httpbin.io/html 200

Not sure if there are more verbose debugging options

$ ./lightpanda version
fc0281b

Metadata

Metadata

Assignees

No one assigned

    Labels

    CDPChrome Debug ProtocolbugSomething isn't workingplaywright

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions