Playwright api localhost error
Unanswered
Philippine Crocodile posted this in #help-forum
Philippine CrocodileOP
When I try calling my api (postman) which uses playwright library to take a screenshot of a website, I keep getting the error below:
I’ve tried the same code on a local node server and playwright works. Here’s my package.json
Even after removing the
Error: write EPROTO 1322851608416:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER
I’ve tried the same code on a local node server and playwright works. Here’s my package.json
"scripts": { "dev": "next dev --turbopack", "build": "PLAYWRIGHT_BROWSERS_PATH=0 npx playwright install && next build", "start": "next start", "lint": "next lint", "postinstall": "PLAYWRIGHT_BROWSERS_PATH=0 npx playwright install" }, "dependencies": { "playwright": "^1.50.1", …
Even after removing the
PLAYWRIGHT_BROWSERS_PATH=0
, I’m still getting this error. I previously used the @playwright/test library and it was working but i switched over to the official playwright library.3 Replies
Philippine CrocodileOP
note that i'm using the playwright library in this. but i saw the guide and implemented everything correctly.
Philippine CrocodileOP
no wayyyyy. realized i got this error because i was testing with https and not http 😭
chatgpt, you failed me a million times!!