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

sendMessage fails with timeout error #10

Open
j6k4m8 opened this issue Nov 29, 2022 · 0 comments
Open

sendMessage fails with timeout error #10

j6k4m8 opened this issue Nov 29, 2022 · 0 comments

Comments

@j6k4m8
Copy link
Contributor

j6k4m8 commented Nov 29, 2022

Hey @SwapnilSoni1999! Let me know if this is too much repo traffic and I'll hold off on posting more :)

I'm seeing the same thing I think is the actual underlying issue in #6 from @admin1982, namely that the selector timeout fails.

When I inspect the browser where I've manually signed in, this selector does in fact resolve, but I'm not sure what the business logic is in the client that awaits this.

TimeoutError: waiting for selector `body > mw-app > mw-bootstrap > div > main > mw-main-container > div > mw-main-nav > mws-conversations-list > nav > div.conv-container.ng-star-inserted > mws-conversation-list-item` failed: timeout 30000ms exceeded
    at new WaitTask (###/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:509:34)
    at DOMWorld.waitForSelectorInPage (###/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:420:26)
    at Object.internalHandler.waitFor (###/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
    at DOMWorld.waitForSelector (###/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:313:29)
    at Frame.waitForSelector (###/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:841:51)
    at Page.waitForSelector (###/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1280:33)
    at MessageService.<anonymous> (###/node_modules/messages-web/dist/lib/service.js:69:29)
    at Generator.next (<anonymous>)
    at fulfilled (###/node_modules/messages-web/dist/lib/service.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
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

1 participant