You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: