Hi,
I have tried to manually set the default download path for chrome using a DesiredCapabilities object:
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
I could not get that to work. I suspect there are a lot of things related to the internals of WebDriver and chromedriver that I'd have to understand better.
If you trawl the web on the topic, you find a lot of references for setting this using the ChromeOptions object .
It would be super if such an object was available in Parasol or even if there was a bit of documentation for how to get this task done with what is available at present.