How to disable save/open file model in automation mode, with selenium webdriver using java?
I am running test automation scripts written in java, with selenium web driver. I download a file from a page and instantly a model appears asking to open or save the file every time on script execution. Although I have chosen to save the downloaded file in normal mode but that selection doesn't work when browser is launched by automation script. I have attached the screenshot for better understanding. So my question: Is there a way to disable that box for test automation mode, using Firefox options?
I am running test automation scripts written in java, with selenium web driver. I download a file from a page and instantly a model appears asking to open or save the file every time on script execution. Although I have chosen to save the downloaded file in normal mode but that selection doesn't work when browser is launched by automation script. I have attached the screenshot for better understanding.
So my question: Is there a way to disable that box for test automation mode, using Firefox options?