Public bug reported: While using a selenium test, I found out the download files are not inside the download.default_directory the test is setting, but prefixed by /tmp/snap.chromium/
Python example: options = Options() prefs = { "download.default_directory": "/tmp" } options.add_experimental_option("prefs", prefs) browser = webdriver.Chrome(options=options) # click on a button that download a file. This file would be in /tmp/snap.chromium/tmp instead of just /tmp/ I'm on Ubuntu 22.04.1 LTS and I use Chromium 105.0.5195.125 (Official Build) snap (64-bit) Any idea how to relocate where the files are saved during a selenium test to be outside of /tmp/snap.chromium directory (which belongs to root user)? ** Affects: chromium-browser (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/1991563 Title: download.default_directory inside /tmp/snap.chromium Status in chromium-browser package in Ubuntu: New Bug description: While using a selenium test, I found out the download files are not inside the download.default_directory the test is setting, but prefixed by /tmp/snap.chromium/ Python example: options = Options() prefs = { "download.default_directory": "/tmp" } options.add_experimental_option("prefs", prefs) browser = webdriver.Chrome(options=options) # click on a button that download a file. This file would be in /tmp/snap.chromium/tmp instead of just /tmp/ I'm on Ubuntu 22.04.1 LTS and I use Chromium 105.0.5195.125 (Official Build) snap (64-bit) Any idea how to relocate where the files are saved during a selenium test to be outside of /tmp/snap.chromium directory (which belongs to root user)? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1991563/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp