Parasol: Controlling chrome download directory

Iwan Vosloo <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
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
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.