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'm running playwright in a container that is connecting to the Chrome started on the host machine like so: /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug --remote-allow-origins="*"
I'm connecting to it from playwright roughly like so:
Should save the file to "/tmp/workspaces/file.pdf on the machine running playwright.
Actual behavior
An exception happens.
Error: download.saveAs: ENOENT: no such file or directory, copyfile '/tmp/playwright-artifacts-MedLPD/537add71-ff6a-4dfa-85e7-f6f2f68080f8'
Same thing happens when trying to use the stream.
After further investigation, it looks like it tries to copy the file locally(on the machine running playwright) instead of getting the file over the CDP protocol.
Version
1.49.0
Steps to reproduce
I'm running playwright in a container that is connecting to the Chrome started on the host machine like so:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 --user-data-dir=/tmp/chrome-debug --remote-allow-origins="*"
I'm connecting to it from playwright roughly like so:
Expected behavior
Should save the file to
"/tmp/workspaces/file.pdf
on the machine running playwright.Actual behavior
An exception happens.
Error: download.saveAs: ENOENT: no such file or directory, copyfile '/tmp/playwright-artifacts-MedLPD/537add71-ff6a-4dfa-85e7-f6f2f68080f8'
Same thing happens when trying to use the stream.
After further investigation, it looks like it tries to copy the file locally(on the machine running playwright) instead of getting the file over the CDP protocol.
Additional context
Environment
The text was updated successfully, but these errors were encountered: