Closed AbrahamHHuertaI closed 7 months ago
I had this problem today, I saw that when exposing the whatsapp api you need to add a timeout to wait until the api is fully exposed. Then you can send messages again.
I have similar behaviour here.
Through some tests, it seems that the issue is mainly in the initialize function, which gets stuck at line 179.
whats the solution , i have the same problem here
Replace
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
With
const INTRO_IMG_SELECTOR = "[data-icon='chat']";
Haven't fully tested but works for now.
Substituir
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
porconst INTRO_IMG_SELECTOR = "[data-icon='chat']";
Não testei totalmente, mas funciona por enquanto.
what file is this code in?
Substituir
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
porconst INTRO_IMG_SELECTOR = "[data-icon='chat']";
Não testei totalmente, mas funciona por enquanto.what file is this code in?
I got this error message on log app.
Replace
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
Withconst INTRO_IMG_SELECTOR = "[data-icon='chat']";
Haven't fully tested but works for now.
Works! Thanks!
here it didn't work
temporarily use this in your package json
"whatsapp-web.js": "https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_7"
Replace
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
Withconst INTRO_IMG_SELECTOR = "[data-icon='chat']";
Haven't fully tested but works for now.
works!
Replace
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
Withconst INTRO_IMG_SELECTOR = "[data-icon='chat']";
Haven't fully tested but works for now.
Thanks a lot it works 👍👍👍👍
temporarily use this in your package json
"whatsapp-web.js": "https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_7"
This causes session to log out when restart.
no Session lost :) "whatsapp-web.js": "https://github.com/Julzk/whatsapp-web.js/tarball/jkr_hotfix_8"
const INTRO_IMG_SELECTOR = "[data-icon='chat']";
yes, this works really well.
orked for me too.
Replace
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
Withconst INTRO_IMG_SELECTOR = "[data-icon='chat']";
Haven't fully tested but works for now.Works! Thanks!
Worked over here as well.
Here, works fine! Thanks!
works really good, thnks !!!
it works thanks
Replace
const INTRO_IMG_SELECTOR = '[data-testid="intro-md-beta-logo-dark"], [data-testid="intro-md-beta-logo-light"], [data-asset-intro-image-light="true"], [data-asset-intro-image-dark="true"]';
Withconst INTRO_IMG_SELECTOR = "[data-icon='chat']";
Haven't fully tested but works for now.
Worked like charm🔥
const INTRO_IMG_SELECTOR = "[data-icon='chat']";
this no longer works
You can use it as follows
const INTRO_IMG_SELECTOR = "[data-icon='menu']";
Is there an existing issue for this?
Describe the bug
Whatsapp web version 2.2335.6 is not running events or sending messages but Version 2.2334.12 is running normally.
Expected behavior
Both versions should execute events and send messages.
Steps to Reproduce the Bug or Issue
Run two instances one with version 2.2335.6 and one with version 2.2334.12 and version 2.2335.6 will not execute the on ready event.
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
OS: Windows Phone OS: Android whatsapp-web.js version 1.22.1 WhatsApp Web version 2.2335.6 Node.js Version 18
Additional context
No response