They do not work for unknown reasons maybe because the download-link is inside an iframe? anyway, i need to access the download popup with selenium to click on the save to disk button and the ok button, or to right-click on the download link to select the option save link as i cannot post a working example, as the webpage in question is. Browserdownloadmanagershowwhenstarting not working. What happens when you click on ‘download’? yeah! a pop-up window is displayed asking user to either open, save or ‘save as’ the file if you have noticed, this is not a browser html pop-up but windows os pop-up and selenium webdriver is a ‘web browser’ automation tool, ie it works only in the browser.
browser.download.manager.showwhenstarting not working
Originally reported on google code with id 7174 what steps will reproduce the problem? 1 define the parameters of download firefox not open window 2 trying to download an image 3 try to download a txt what is the expected output? what. I don't think that there is a way to not cause the unknown content type window to appear. as andreas said setting this pref to true will always bring up this dialog. the way how you could solve this is to figure out the mime type before you work with the file in firefox.. As we know, we cannot simulate os actions with selenium. we use autoit tool to upload documents (when it is not possible to achive upload using sendkeys method). we have discussed uploading a file using using webdriver sendkeys method and using autoit tool in earlier tutorials. to handle downloads with selenium, we need to define settings to the browser using firefox profile.