私はこのコードを使用して、プロンプトなしでWinzipファイルをダウンロードするフローを自動化します。しかし、それは機能していないようです
profile = webdriver.firefox.firefox_profile.FirefoxProfile()
profile.set_preference('browser.helperApps.neverAsk.saveToDisk',("application/zip,
application/octet-stream"))
profile.set_preference('browser.download.folderList', 2)
profile.set_preference('browser.download.dir', '/home/jack/DOWNLOAD')
self.driver = webdriver.Firefox(firefox_profile=profile)
自動化中にダイアログボックスが開いたままになっています。