I currently have a Puppeteer script which automates CSV downloads into google drive which then allows me to programmatically access the data and move it into google sheets.Ĭurrently, I run this locally on my computer on VS code. It exits right after clicking download link on the page w/o waiting for 5 seconds and chrome puts downloaded file into default 'Downloads' folder instead of defined 'downloadPath' in the script.Would appreciate if anyone can suggest ideas: Script does not work properly during the execution. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. (node:51016) DeprecationWarning: Unhandled promise rejections are deprecated. 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. (node:51016) UnhandledPromiseRejectionWarning: Unhandled promise rejection. (node:51016) UnhandledPromiseRejectionWarning: Error: WebSocket is not open: readyState 3 (CLOSED)Īt nd (C:\Users\Me\Downloads\puppeteer\node_modules\ws\lib\websocket.js:329:19)Īt nd (C:\Users\Me\Downloads\puppeteer\node_modules\puppeteer\lib\WebSocketTransport.js:60:14)Īt Connection._rawSend (C:\Users\Me\Downloads\puppeteer\node_modules\puppeteer\lib\Connection.js:86:21)Īt nd (C:\Users\Me\Downloads\puppeteer\node_modules\puppeteer\lib\Connection.js:72:21)Īt gracefull圜loseChrome (C:\Users\Me\Downloads\puppeteer\node_modules\puppeteer\lib\Launcher.js:194:20)Īt Browser.close (C:\Users\Me\Downloads\puppeteer\node_modules\puppeteer\lib\Browser.js:255:31)Īt Browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |