After scouring through multiple documents for hours like https://www.selenium.dev/documentation/en/webdriver/js_alerts_prompts_and_confirmations/
as well as
https://chromedriver.chromium.org/capabilities
and
I was unsuccessful in finding a solution with Selenium WebDriver and JavaScript to enable multiple file downloads. I had hoped there would be capabilities that could facilitate this, but unfortunately, none were found.
Additionally, I attempted the following code snippet:
await driver.switchTo().alert().accept()
await driver.executeScript("window.confirm = function(){return true}")
However, this approach did not work either.