vasani-arpit / WBOT

A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 4th, 2024
Other
987 stars 314 forks source link

WBOT can't start #298

Closed tradename closed 2 years ago

tradename commented 2 years ago

Looks like you got an error. TimeoutError: waiting for selector "img[alt='Scan me!'], canvas" failed: timeout 30000ms exceeded { TimeoutError: waiting for selector "img[alt='Scan me!'], canvas" failed: timeout 30000ms exceeded at new WaitTask (/snapshot/workspace/node_modules/puppeteer-core/lib/DOMWorld.js:561:28) at DOMWorld._waitForSelectorOrXPath (/snapshot/workspace/node_modules/puppeteer-core/lib/DOMWorld.js:490:22) at DOMWorld.waitForSelector (/snapshot/workspace/node_modules/puppeteer-core/lib/DOMWorld.js:444:17) at Frame.waitForSelector (/snapshot/workspace/node_modules/puppeteer-core/lib/FrameManager.js:628:47) at Frame. (/snapshot/workspace/node_modules/puppeteer-core/lib/helper.js:111:23) at Page.waitForSelector (/snapshot/workspace/node_modules/puppeteer-core/lib/Page.js:1046:29) at getAndShowQR (/snapshot/workspace/src/index.js:0:0) at Main (/snapshot/workspace/src/index.js:0:0) at process._tickCallback (internal/process/next_tick.js:68:7) name: 'TimeoutError' }

vasani-arpit commented 2 years ago

This is an issue due to multi-device beta. Delete chromium-data folder and remove the device from phone. Then try to Link new device. It should work.

tradename commented 2 years ago

Worked. Thank you... but seems you have to do that every time you start the Bot as the error pop ups every-time you start WBOT

vasani-arpit commented 2 years ago

As MD support is in Beta WA logs you out automatically after few hours. That's why this happens.

tradename commented 2 years ago

ooh i understand. and thanks for this

AngelJRomero21 commented 2 years ago

Hay forma de que cada vez que inicie el bot no tenga que escanear el codigo?

tradename commented 2 years ago

Yes it's possible.

On Tue, Mar 15, 2022, 5:14 PM Angel Romero @.***> wrote:

Hay forma de que cada vez que inicie el bot no tenga que escanear el codigo?

— Reply to this email directly, view it on GitHub https://github.com/vasani-arpit/WBOT/issues/298#issuecomment-1068105951, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJIN3JIWOYP43OR63EOYEYLVACSOPANCNFSM5M2RFL6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>

vrushalipachchigar commented 2 years ago

@AngelJRomero21 As of now this feature isn't provided for multi device login. WBOT saves data for one device log in so you don't have to scan QR every time you open WBOT