pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
14.49k stars 3.45k forks source link

After whatsapp update to write a name for the browser session, puppeteer is not working. #3152

Closed andersoncampolina closed 4 days ago

andersoncampolina commented 4 days ago

Is there an existing issue for this?

Describe the bug

Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'default') at pptr://puppeteer_evaluation_script:5:95

This error don't let us connect to whatsapp web browser session anymore, because now, uncle Mark has added another step to finish the connection, that is give a name to your session.

Expected behavior

It should ask, on terminal, for a name. Or just give a random name to it, to proceed.

Steps to Reproduce the Bug or Issue

Just try to connect the bot.

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Mac

Additional context

No response

alechkos commented 4 days ago

2816