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

puppeteer stucked at opening browser #143

Open
ksyp-7 opened this issue Jun 2, 2021 · 0 comments
Open

puppeteer stucked at opening browser #143

ksyp-7 opened this issue Jun 2, 2021 · 0 comments

Comments

@ksyp-7
Copy link

ksyp-7 commented Jun 2, 2021

i am trying to open chrome browser while using puppeteer.
but it stucts on opening browser and nothig opens after 3-4 minites it shows timeout error

this is my code
browser = await puppeteer.launch({ executablePath: 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe' });

below is error opening the browser Could not create TimeoutError: waiting for selector input[name="username"] failed: timeout 30000ms exceeded at new WaitTask (D:\instgram\node_modules\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:509:34) at DOMWorld.waitForSelectorInPage (D:\instgram\node_modules\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:420:26) at Object.internalHandler.waitFor (D:\instgram\node_modules\puppeteer\lib\cjs\puppeteer\common\QueryHandler.js:31:77) at DOMWorld.waitForSelector (D:\instgram\node_modules\puppeteer\lib\cjs\puppeteer\common\DOMWorld.js:313:29) at Frame.waitForSelector (D:\instgram\node_modules\puppeteer\lib\cjs\puppeteer\common\FrameManager.js:841:51) at Page.waitForSelector (D:\instgram\node_modules\puppeteer\lib\cjs\puppeteer\common\Page.js:1333:33) at D:\instgram\index.js:13:20 at processTicksAndRejections (internal/process/task_queues.js:95: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