I'm trying to download a file in my test. I've managed to start the download without getting the download prompt. the problem now is that I'm getting a warning saying that "This type of file can harm your computer.Do you want to keep...anyway?" and I need to choose 'Discard' or 'Keep'. I've tried to find chromeOptions for that - unsuccessfully. currently using those args:
args: ['--disable-popup-blocking="true", --allow-unchecked-dangerous-downloads="true", --disable-download-notification="true"']
any ideas?