Environment
- OS: Windows 11 (Version 10.0.26100.8457)
- Node.js: v22.18.0
- open-wa version: 4.76.0
- Chrome: installed at C:\Program Files\Google\Chrome\Application\chrome.exe
Problem
When running open-wa via CLI or programmatically, the QR code never appears.
The process crashes with a timeout after 30 seconds.
Error
Error: spawn wmic.exe ENOENT
Steps to Reproduce
- Install @open-wa/wa-automate
- Run:
npx @open-wa/wa-automate --use-chrome --port 8003 --popup
- Process loads WhatsApp Web but QR code element never appears within 30s
- Process crashes
Notes
- The
wmic.exe error was fixed by running DISM /Online /Add-Capability /CapabilityName:WMIC~~~~
- Even after fixing wmic, the 30s timeout persists
- The popup server at localhost:8003 starts but shows raw base64 data instead of a rendered QR image
- Using
--use-chrome flag with the correct executable path does not resolve the timeout
Question
Is WhatsApp Web's DOM structure still compatible with v4.76.0?
Is there a way to increase the QR timeout or force-load the QR element?
Environment
Problem
When running open-wa via CLI or programmatically, the QR code never appears.
The process crashes with a timeout after 30 seconds.
Error
Error: spawn wmic.exe ENOENT
Steps to Reproduce
npx @open-wa/wa-automate --use-chrome --port 8003 --popupNotes
wmic.exeerror was fixed by runningDISM /Online /Add-Capability /CapabilityName:WMIC~~~~--use-chromeflag with the correct executable path does not resolve the timeoutQuestion
Is WhatsApp Web's DOM structure still compatible with v4.76.0?
Is there a way to increase the QR timeout or force-load the QR element?