chromedriver multiple download

968 views
Skip to first unread message

l...@rsd.com

unread,
Sep 19, 2016, 9:30:14 AM9/19/16
to ChromeDriver Users
Hello,

I'm using selenium and perl library to test html5 application
my application is downloading multiple files and I have a message in chrome to allow theses downloads

I think I should setup prefs when initializing browser, but I can't find the right flag to set

'prefs' => {
'profile.default_content_settings.multiple-automatic-downloads' => '1'
}

this one seems not working

do you know the right flag to set with latest chrome version ?

thank you

Regards

l...@rsd.com

unread,
Sep 22, 2016, 12:00:07 PM9/22/16
to ChromeDriver Users
No idea ?

Thank you

Regards

Sam Uong

unread,
Sep 22, 2016, 12:20:59 PM9/22/16
to l...@rsd.com, ChromeDriver Users
Does this help, or are you having a different issue?

https://groups.google.com/d/msg/chromedriver-users/cjKvRkaS-Q4/NihwKi9yAwAJ

--
You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

l...@rsd.com

unread,
Sep 23, 2016, 3:51:19 AM9/23/16
to ChromeDriver Users
Hello,
Thank you for your answer

unfortunately, it dos not work,

I have tried:

                        'profile.default_content_settings.multiple-automatic-downloads' => '1',
                        'profile.default_content_setting_values.automatic_downloads' => '1',
                        'profile.content_settings.pattern_pairs.*,*.multiple-automatic-downloads' => '1'

none seems to work








On Monday, September 19, 2016 at 3:30:14 PM UTC+2, l...@rsd.com wrote:

Sam Uong

unread,
Sep 23, 2016, 7:51:39 AM9/23/16
to l...@rsd.com, ChromeDriver Users
I think it is "profile.default_content_setting_values.automatic_downloads". Did you set it to '1' or 1? (i.e. is it a string or a number?)

--

l...@rsd.com

unread,
Oct 5, 2016, 9:36:29 AM10/5/16
to ChromeDriver Users, l...@rsd.com
Seems to work with a number 1....

Great, Thanks a lot for your help.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-users+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages