[Seaside] Parasol: Controlling chrome download directory
Iwan Vosloo
iwan at reahl.org
Fri Jan 4 13:19:50 UTC 2019
Hi there,
How do I set the download directory for chrome with Parasol?
In Java, it seems you set it on a ChromeOptions [1] object, which in
turn is passes to your DesiredCapabilities.
From a cursory scanning of the java source (without understanding too
much...) I have tried the following DesiredCapabilities without success:
desiredDriverBrowserCapabilities
^ BPDesiredCapabilities chrome
" setCapability: 'chromeOptions' << also tried this"
setCapability: 'goog:chromeOptions'
to:
(Dictionary new
at: 'prefs'
put:
(Dictionary new
at: 'download.default_directory'
put: '/tmp/testdownloads';
at: 'download.prompt_for_download'
put: false;
at: 'download.directory_upgrade'
put: true;
yourself);
yourself);
yourself
[1]
https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/chrome/ChromeOptions.html
--
Regards
Iwan
More information about the seaside
mailing list