Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initializing... #8

Closed
alloanva opened this issue Feb 22, 2018 · 3 comments
Closed

Initializing... #8

alloanva opened this issue Feb 22, 2018 · 3 comments

Comments

@alloanva
Copy link

When run chat.js appear a message Initializing..
-open browser ok
-i scan the qr ok

  • and return to console a seconds after appear a message.

╔══════════════╗
║ ║
║ Whatspup ║
║ ║
╚══════════════╝
Initializing...

Unhandled Rejection at: Promise Promise {
Error: waiting failed: timeout 30000ms exceeded
at Timeout.WaitTask._timeoutTimer.setTimeout (/home/al/Descargas/whatspup-master/node_modules/puppeteer/lib/FrameManager.js:789:58)
at ontimeout (timers.js:458:11)
at tryOnTimeout (timers.js:296:5)
at Timer.listOnTimeout (timers.js:259:5) } reason: Error: waiting failed: timeout 30000ms exceeded
at Timeout.WaitTask._timeoutTimer.setTimeout (/home/al/Descargas/whatspup-master/node_modules/puppeteer/lib/FrameManager.js:789:58)
at ontimeout (timers.js:458:11)
at tryOnTimeout (timers.js:296:5)
at Timer.listOnTimeout (timers.js:259:5)

@sarfraznawaz2005
Copy link
Owner

I cannot say why it doesn't work for you. I tested on my end on Windows 7 and 10 and it works, couple of suggestions:

  • make sure you are using latest version. Try fresh installation in separate folder and then see.
  • see if selectors (they are defined in selector.js file) used are matching with what you see for whatsapp web.

@alloanva
Copy link
Author

I am using linux. appear error but when i click in left panel (list of users) works. My puppeteer version es 1.0.0

@sarfraznawaz2005
Copy link
Owner

yes, contact should already be visible in sidebar (conversation should already be started) for this to work because we use a selector to CLICK their name to continue chatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants