Firefox 5010 [while i'm writing this post] selenium [301] r [332 (2016-10-31)] i hope you will be able to port this to python just try to replicate the configurations in firefox makefirefoxprofile reference for further understanding:-how to download files using selenium firefox profile settings in selenium. Firefox browserdownloadmanagershowwhenstarting. Download manager preferences archive of obsolete content in firefox,thunderbird and seamonkey the default value is false browserdownloadmanagershowwhenstarting: a boolean value that indicates whether or not to show the downloads window when a download begins.
firefox browser.download.manager.showwhenstarting
My code: firefoxprofile profile = new firefoxprofile(); profilesetpreference("browserdownloadmanagershowwhenstarting", false); webdriver = new firefoxdriver(profile); the code crashes on second line this reproduce only for firefox since i get the firefox webdriver and it crashes on all test cases. The mozilla toolkit is a set of apis, built on top of gecko, which provide advanced services to xul applications. these services include profile management, chrome registration, browsing history, extension and theme management, application update service, and safe mode.more info.