Skip to content

waiting for selector #password failed: timeout 30000ms exceeded #15

@ka05

Description

@ka05

node nestAuth.js u=user@gmail.com p=password

Navigating to : https://home.nest.com
Logging in ...
Waiting for page content to settle
last:  0  <> curr:  99123  body html size:  95751
last:  99123  <> curr:  99382  body html size:  95772
last:  99382  <> curr:  99382  body html size:  95772
last:  99382  <> curr:  99382  body html size:  95772
last:  99382  <> curr:  99382  body html size:  95772
last:  99382  <> curr:  99382  body html size:  95772
Page rendered fully.

TimeoutError
waiting for selector `#password` failed: timeout 30000ms exceeded
Screenshot: error.png
TimeoutError: waiting for selector `#password` failed: timeout 30000ms exceeded
    at new WaitTask (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:505:34)
    at DOMWorld.waitForSelectorInPage (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:416:26)
    at Object.internalHandler.waitFor (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/QueryHandler.js:31:77)
    at DOMWorld.waitForSelector (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/DOMWorld.js:312:29)
    at Frame.waitForSelector (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/FrameManager.js:842:51)
    at Page.waitForSelector (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1285:33)
    at pageNavigation (/Users/clayherendeen/git/nest-GoogleAuth/nestAuth.js:200:14)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async nestLogin (/Users/clayherendeen/git/nest-GoogleAuth/nestAuth.js:282:5)
Job failed with :Error: Error navigating login steps in browser check error.png screenshot
(node:60562) UnhandledPromiseRejectionWarning: Error: Protocol error (Target.activateTarget): Target closed.
    at /Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:208:63
    at new Promise (<anonymous>)
    at CDPSession.send (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:207:16)
    at next (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js:30:43)
    at CDPSession.send (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer-extra-plugin-stealth/evasions/sourceurl/index.js:46:18)
    at Page._screenshotTask (/Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1084:28)
    at /Users/clayherendeen/git/nest-GoogleAuth/node_modules/puppeteer/lib/cjs/puppeteer/common/Page.js:1081:62

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions