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
Error: net::ERR_ABORTED at https://www.mysite-com/admin/order?_export_=page%3A1
< at navigate (C:\code\js\wbot\node_modules\puppeteer\lib\FrameManager.js:103:37)
< at <anonymous>
< at process._tickCallback (internal/process/next_tick.js:189:7)
Puppeteer is 1.9.0. Is it bug?
The text was updated successfully, but these errors were encountered:
You might try using an absolute path instead of a relative path.
Also, I am running on Windows from a MinGW64 bash command line, but because the path was going to be passed to an instance of Chrome for Windows, I took care to pass an absolute path that looked right for Windows (e.g. "C:\dev\downloads" or whatever).
(Using process.cwd() along with the "path" npm module took care of the details for me.)
let dir = path.join(process.cwd(), "path", "to", "download", "dir");
I can
download
the file to the default subdir which is thedownload
by.However when I specified the download subdir with the following code, the file is still downloaded to the default subdir and with error:
The error is:
Puppeteer is
1.9.0
. Is it bug?The text was updated successfully, but these errors were encountered: