Firefox Auto Download OFX

248 Views Asked by At

My script automatically pulls files down from a website using selenium. I've been able to get it to work well for nearly all files except a couple like .OFX files.

Here's where I set the Firefox profile:

profile.set_preference('browser.helperApps.neverAsk.saveToDisk', 'application/octet-stream,application/vnd.ms-excel,text/csv,application/vnd.intu.qfx,application/csv,application/qif,text/qif,application/qbo,text/qbo,text/plain,application/txt,application/vnd.intu.qbo,application/x-ofx,application/ofx,text/ofx,text/xml')

I've included everything I can think of (including application/octet-stream) but still I get a popup in firefox for .OFX files - what gives?

0

There are 0 best solutions below