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
15.53k stars 3.7k forks source link

Blank white window is opened! #3289

Closed BhargavPatel29 closed 1 month ago

BhargavPatel29 commented 1 month ago

Is there an existing issue for this?

Describe the bug

I am using whatsapp-web.js version 1.26.0. When i start the nodejs service, blank white window is opened. It is not showing in taskbar, even not showing in task manager in windows. I am facing this bug for last 2 days.

image

Expected behavior

It should work in background via nodejs. Remove unnecessary white window.

Steps to Reproduce the Bug or Issue

  1. I simply create whatsapp client with LocalAuth.
  2. with puppeteer: args ['--no-sandbox']
  3. And white blank window is opened
  4. All other things is working fine.

Relevant Code

No response

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Windows 10 Professional Phone OS: Android whatsapp-web.js version: 1.26.0 WhatsApp Web verison: 2.3000.1016749887 Node.js version: 18.16.0

Additional context

No response

jonathas-sh commented 1 month ago

same here

whatsmenudev02 commented 1 month ago

same here

postguruji commented 1 month ago

+1

Milton-scz commented 1 month ago

I have the same problem

jonathas-sh commented 1 month ago

temporary solution

new Client({
    puppeteer: {
      args: [
        ...
        '--window-position=-1000,-1000'
      ]
    }
  })
bhardavivek commented 1 month ago

What is the latest version of your Chrome in your system?

KomissarSanti commented 1 month ago

add argument("--headless=old") https://stackoverflow.com/questions/78996364/chrome-129-headless-shows-blank-window