Commit 9500083
Fix browser download directory to automatically use /shared-downloads in Docker
- Add model validator to BrowserProfile that sets downloads_path to /shared-downloads in Docker environments
- Add Chrome --download-default-directory flag when downloads_path is configured
- Ensures downloads go directly to shared directory without manual save_as() calls
- Fixes issue where save_as() resulted in empty files due to temp location copying
Co-Authored-By: jerry@browserless.io <jerry@browserless.io>1 parent 4c8e103 commit 9500083
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
645 | 652 | | |
646 | 653 | | |
647 | 654 | | |
| |||
669 | 676 | | |
670 | 677 | | |
671 | 678 | | |
| 679 | + | |
672 | 680 | | |
673 | 681 | | |
674 | 682 | | |
| |||
0 commit comments