Allow Multiple file downloads using chrome driver

938 views
Skip to first unread message

Prudhvi Immadisetti

unread,
Jun 17, 2014, 7:35:13 AM6/17/14
to webd...@googlegroups.com
Hi Guys,

I am facing issue while downloading multiple files using chrome browser. A message "This site is attempting to download multiple files. Do you want to allow this?" with Allow and Deny buttons. I tried using below code but it didnt work.

DesiredCapabilities capabilities = DesiredCapabilities.chrome();
capabilities.setCapability("profile.content_settings.pattern_pairs.*.multiple-automatic-downloads", 1);
driver = new ChromeDriver(capabilities);

Webdriver version  - 2.40
Chrome driver version - chromedriver_win32_2.4
Chrome version - 26.0.1410.43

Note: Chrome version is the certified version for our client. thats the reason i didnt upgrade it to latest version.

Please reply if you have solution to this with sample code.

Thanks in advance.

Regrads,
Prudhvi.
Multiple file downloads.JPG
Reply all
Reply to author
Forward
0 new messages