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
The code executes just fine when launching the first instance, the error seems to occur with subsequent instances, and also does not happen 100% of the time but appears to occur in the majority of cases. When I comment out the setWorkingFolder line or the userDataDir one, the code executes without this error.
Error: Failed to launch the browser process!
TROUBLESHOOTING: https://pptr.dev/troubleshooting
at Interface.onClose (C:\Users\Administrator\Desktop\test-bot\node_modules\@puppeteer\browsers\lib\cjs\launch.js:262:24)
at Interface.emit (node:events:525:35)
at Interface.close (node:internal/readline/interface:533:10)
at Socket.onend (node:internal/readline/interface:259:10)
at Socket.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
The text was updated successfully, but these errors were encountered:
viniciuspatzer
changed the title
Can't use setWorkingFolder along with userDataDir
Can't use setWorkingFolder along with userDataDir on multiple instances
Dec 16, 2023
The code executes just fine when launching the first instance, the error seems to occur with subsequent instances, and also does not happen 100% of the time but appears to occur in the majority of cases. When I comment out the setWorkingFolder line or the userDataDir one, the code executes without this error.
The text was updated successfully, but these errors were encountered: