Skip to content

punycode #45

Description

@rebajz

I have installed nodejs v22.9.0 and try "auto-playwright": "1.16.0",

playwright i use with typescript

when i add auto-playwright into my project, and copy your demo code for test and try run this test, i got everytime this messege:

(node:365986) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

TypeError: Cannot read properties of undefined (reading 'defaults')

    at sanitizeHtml (/app/node_modules/auto-playwright/dist/sanitizeHtml.js:23:46)
    at getSnapshot (/app/node_modules/auto-playwright/dist/getSnapshot.js:7:46)
    at runTask (/app/node_modules/auto-playwright/dist/auto.js:37:19)
    at /app/node_modules/auto-playwright/dist/auto.js:17:24

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions