mrkeyoor.comAsk

wwebjs/whatsapp-web.jstested 07 Nov 2026commit 064a3d5

whatsapp-web.js review

whatsapp-web.js is worth evaluating when its documented WhatsApp Web features justify operating a browser, preserving sessions and accepting the project's account-blocking warning.

  • Tests failed
35 sto install
  • 427 packages
Automationevaluationupdated 09 Nov 2026
+29stars / 7d

whatsapp-web.js lets a Node.js application send and receive messages through a managed WhatsApp Web browser. Evaluate it when you can operate that browser, preserve sessions and accept unofficial access. The project warns that account blocking remains possible.

Verdict

whatsapp-web.js is worth evaluating when its documented WhatsApp Web features justify operating a browser, preserving sessions and accepting the project's account-blocking warning. Our 2026-11-07 run at commit 064a3d5 installed in 35 seconds, then the test command failed after 6 seconds. Account operations remain unverified. Review the 30 recorded dependency advisories and validate session restoration and required message types before adoption.

We ran it

Lab card: what happened when we ran whatsapp-web.js
Lab card from our sandbox run
Screenshot of whatsapp-web.js (wwebjs.dev)
wwebjs.dev
Install✓ · 35s427 packages · 186 MB
Buildn/ano build script
Tests✗ · 6sran, no count parsed
Known vulns301 critical · 19 high · 9 moderate · 1 low (npm audit)
Repo186 files~15,271 lines of source · 2.6 MB · 9 CI workflows · tests dir

Answers from our run

Does whatsapp-web.js build from source?

Dependencies installed in 35 seconds (427 packages), and the project has no separate build step. We cloned commit 064a3d5 into a clean Debian container with 3 CPUs and no project-specific setup.

Do whatsapp-web.js's tests pass?

No. The project's own test command exited unsuccessfully after 6 seconds, and its output did not expose an individual test count.

Does whatsapp-web.js have known vulnerabilities in its dependencies?

npm audit flagged 30 known advisories in the dependency tree, including 1 critical at the time of our run.

Who should not use whatsapp-web.js?

Teams requiring an officially authorized WhatsApp client: the README explicitly disclaims that relationship.

What are the alternatives to whatsapp-web.js?

Baileys, WPPConnect. whatsapp-web.

Setup3/5Our source checkout installed in 35 s, a heavy install of 427 dependencies, and we did not run a README task.Editor’s note: Dependency installation completed, but the retained failure tail does not establish a supported runtime or a working paired browser setup.
Docs4/5Under the rubric in the body, the supplied README and authentication and attachment guides provide clear requirements, session choices and media limitations. Their account examples were not executed in this review.
Community5/5Last push on 2026-11-08 and 22,910 stars.Editor’s note: Supplied metadata records a November 8, 2026 last push, but does not establish issue response times, contributor participation or community health.
Maturity4/5Latest release v1.34.7 on 2026-04-24, repository created 2019-02-17 and its test suite did not pass in our sandbox.Editor’s note: This run did not verify pairing, message delivery or session recovery, so it cannot support an operational reliability rating.

How we score

Who it’s for

Node.js developers who can operate a browser alongside their application.
Operators who can preserve account sessions and verify recovery after a restart.
Integrations whose owners accept the project's warning about unofficial access and possible account blocking.

Who it’s NOT for

Teams requiring an officially authorized WhatsApp client: the README explicitly disclaims that relationship.
Hosts with disposable local storage when using LocalAuth: restoring sessions requires a persistent filesystem.
Workflows requiring send-buttons or send-lists support: the README marks both deprecated.
Applications assuming every attachment is retrievable: the guide documents an undefined result when a media download fails.

Setup reality

Our 2026-11-07 sandbox run at commit 064a3d5 completed installation in 35 seconds, recording 427 dependencies and 186 MB on disk. Build was skipped because there was no build script or target. Tests failed with exit 1 after 6 seconds. npm audit reported 30 known vulnerabilities: 1 critical, 19 high, 9 moderate and 1 low.

The retained test tail shows Node module loading and Mocha importing files, without the initiating exception. It does not establish the failure's cause or validate messaging. Actual use requires an account paired to the managed browser. Choose persistent storage for LocalAuth, or a remote session store for RemoteAuth, before depending on unattended restarts.

The README requires Node.js 18 or newer. Our recorded configuration had 3 CPUs, 8 GB RAM and image label lab-node:22; that label does not establish the actual runtime version. The attachment guide also identifies browser codec restrictions for video and GIF sending. No account or media workload was verified here.

A managed browser comes with an account decision

whatsapp-web.js uses Puppeteer to access WhatsApp Web's internal functions through a managed browser. Its documented messaging features make it a candidate for Node.js integrations whose operators can maintain that browser and its sessions. Before choosing API methods, decide whether unofficial access is acceptable for the account you intend to connect.

The README disclaims official WhatsApp authorization. It warns that blocking remains possible. Someone responsible for the account needs to accept that risk before adoption; a successful package installation cannot resolve it.

What happened when we ran it

Our whatsapp-web.js run installed in 35 seconds and failed tests after 6 seconds. Installation recorded 427 dependencies and 186 MB on disk. Build was skipped because no build script or target existed. The test command exited 1. The run used commit 064a3d5 on 2026-11-07, with a recorded configuration of 3 CPUs, 8 GB RAM and image label lab-node:22.

The retained failure tail shows Node loading modules and Mocha importing files. The initiating exception is absent, so those frames cannot identify a configuration error, incompatible package or product defect. The record provides no passing-test count. Account pairing, message exchange, attachment downloads and session recovery remain unverified by this run. The image label does not establish which Node version actually ran.

npm audit reported 30 known vulnerabilities: 1 critical, 19 high, 9 moderate and 1 low. These dependency advisory findings do not demonstrate exploits against a deployed messaging application. The supplied record does not identify affected paths or successful remediation. Review the advisory details against the dependency resolution you intend to deploy.

The checkout contained 186 files, approximately 15,271 source lines and 2.6 MB. The scan found 9 CI workflow files and a tests directory, with no Dockerfile detected. These repository signals do not establish that account operations work.

Saving a session needs a storage choice

The authentication guide says the default strategy saves no session information, requiring another QR scan after restart.

LocalAuth requires a persistent filesystem to restore sessions. It passes a persistent user data directory to the browser. If your host discards local files during deployment, provide durable storage or choose another strategy. Keep session files private.

RemoteAuth stores sessions remotely, with MongoDB and S3 options documented in the guide. The guide warns that the ready event does not mean the remote session has been saved. Before relying on unattended restarts, verify that a saved session restores after restarting the client. Our sandbox did not perform that recovery check.

Attachment presence does not guarantee a download

The attachment guide documents hasMedia for detecting attachments and downloadMedia for retrieving them. The downloadMedia method can return undefined when media cannot be downloaded. Check that result before reading the returned object's data or MIME type.

For an inbox, show a retrieval failure when an attachment is unavailable and keep any accompanying text usable. These are application design recommendations based on the documented return value, not behavior verified in our sandbox.

For video and GIF sending, the guide says Chromium lacks AAC and H.264 support and directs users to a separately installed Chrome browser for that functionality. A text-only example cannot establish media suitability. An account trial should cover the actual attachment types your workflow needs, including receipt and retrieval.

Check feature requirements and maintenance evidence separately

The README marks sending buttons and lists as deprecated, while listing ordinary messages, media and polls as supported. Avoid this library if your workflow requires those deprecated message types. The listed capabilities are upstream documentation claims, not features verified by our run.

The README requires Node.js 18 or newer. That requirement does not establish the runtime used in our sandbox.

The supplied repository metadata records a last push on November 8, 2026. Push recency alone does not establish issue responsiveness or community health, which remain unassessed.

Compare the connection model

Baileys is a WebSockets-based TypeScript library for interacting with the WhatsApp Web API. Its README says it connects directly through a WebSocket without requiring a browser. Evaluate it when avoiding a managed browser is an architectural priority. Its disclaimer also disclaims official WhatsApp authorization. The README warns of breaking changes introduced in 7.0.0 and says the new guide is in development. We measured no resource or reliability differences between these clients.

WPPConnect combines Puppeteer with the browser automation layer used by the ecosystem. Its README describes a library for applications that manage browser and session lifecycle. It requires Chrome or Chromium and operating-system dependencies. WPPConnect Server is a separate REST-service project, so choosing the library does not itself supply that service.

How the documentation score works

Documentation earns 4 on this editorial scale: 1 means missing core instructions, 3 means a usable path with material omissions, and 5 requires detailed guidance independently checked across the reviewed paths. Intermediate scores reflect partial coverage. The supplied README and session and attachment guides support 4 because they explain requirements, authentication choices and media failure conditions, while their account examples remain unverified here. This score assesses the supplied guidance, not runtime reliability.

Before adopting whatsapp-web.js, review the dependency advisories, choose durable session storage and verify pairing, restart recovery and the message types your workflow needs.

Alternatives

ProjectWhat it isPick it when
BaileysA WebSockets-based TypeScript library for interacting with the WhatsApp Web API.Evaluate Baileys when you prefer a direct WebSocket connection without managing a browser. Review its unofficial-client disclaimer, 7.0.0 breaking-change warning and notice that the new guide is in development.
WPPConnectA Node.js WhatsApp Web library combining Puppeteer with browser automation.Evaluate WPPConnect when your application will manage browser and session lifecycle through another library. It requires Chrome or Chromium and operating-system dependencies; its Server project is the separate REST-service option.

Sources

  1. whatsapp-web.js README
  2. Authentication strategies
  3. Handling attachments
  4. Baileys README
  5. WPPConnect README

More automation reviews