Issue Description
See the code below, the pupetter is loaded, the whatsapp window open, but the client.on('ready') is NEVER called.
Reproduction Steps
Run the code sample below once, then exit the process, then run again. The session should persist, the whatsapp window open, but client.on('ready') is never called and I am not able to view incoming messages
Code Sample
const client = new Client({
puppeteer: {
executablePath: 'C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe',
headless: false,
args: [
'--no-sandbox',
'--disable-setuid-sandbox'
]
},
authStrategy: new LocalAuth()
});
client.on('ready', () => {
console.log('Client is ready!');
});
client.on('qr', qr => {
qrcode.generate(qr, {small: true});
console.log('QR RECEIVED');
});
User Setup
| WhatsApp |
Type |
| Account Type |
Standard |
| Authentication Strategy |
LocalAuth |
| WhatsApp Web Version |
api doesn't work, but it's the latest one |
| whatsapp-web.js Version |
whatsapp-web.js: ^1.34.7 |
| Environment |
Version |
| Browser Type |
Ms. Edge |
| Browser Version |
Latest |
| Phone OS Version |
- |
| Running OS Version |
windows 11 |
| Node.js Version |
v22.19.0 |
Checklist
Issue Description
See the code below, the pupetter is loaded, the whatsapp window open, but the client.on('ready') is NEVER called.
Reproduction Steps
Run the code sample below once, then exit the process, then run again. The session should persist, the whatsapp window open, but client.on('ready') is never called and I am not able to view incoming messages
Code Sample
User Setup
Checklist