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

UnhandledPromiseRejectionWarning: TimeoutError: waiting for selector "input[id="login"]" failed: timeout 30000ms exceeded #13

Open
francesco-plt opened this issue Jan 31, 2021 · 0 comments

Comments

@francesco-plt
Copy link

I keep getting this error. Full log:

Reusing password saved in system's keychain!

Launching headless Chrome to perform the OpenID Connect dance...
Navigating to WebEx login page...
Filling in Servizi Online login form...
(node:19864) UnhandledPromiseRejectionWarning: TimeoutError: waiting for selector "input[id="login"]" failed: timeout 30000ms exceeded
    at new WaitTask (C:\Users\frapa\bin\PoliWebex\node_modules\puppeteer\lib\DOMWorld.js:549:28)
    at DOMWorld._waitForSelectorOrXPath (C:\Users\frapa\bin\PoliWebex\node_modules\puppeteer\lib\DOMWorld.js:478:22)
    at DOMWorld.waitForSelector (C:\Users\frapa\bin\PoliWebex\node_modules\puppeteer\lib\DOMWorld.js:432:17)
    at Frame.waitForSelector (C:\Users\frapa\bin\PoliWebex\node_modules\puppeteer\lib\FrameManager.js:627:47)
    at Frame.<anonymous> (C:\Users\frapa\bin\PoliWebex\node_modules\puppeteer\lib\helper.js:112:23)
    at Page.waitForSelector (C:\Users\frapa\bin\PoliWebex\node_modules\puppeteer\lib\Page.js:1122:29)
    at login (C:\Users\frapa\bin\PoliWebex\poliwebex.js:275:16)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async downloadVideo (C:\Users\frapa\bin\PoliWebex\poliwebex.js:125:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:19864) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:19864) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
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