I am using Capybara with Chrome and Selenium. When I try to click a link that causes an automatic download, the file loads correctly. If I try to do this again, Chrome will display a message: "This site is trying to upload multiple files. Do you want to allow this?"

I was looking for a flag that could be used to disable this message, but could not find anything. Is there a way around this message and allowing multiple downloads without having to resort to refreshing the page? (For example, is there a way I can click the Allow button programmatically?)
source share