firefox 60 changing pdf content save File action back to preview in firefox
i have update to latest FF , by default the pdf content action is "preview in firefox" , i have changed it to saveFile , but when run my selenium script , the firefox is automatically changing the pdf content action back to "preview in firefox". i want firefox automatically save pdf files to the given download directory. it was working fine on older firefox version 47.0.2.
please help.
Alle antwoorden (4)
To change the default reader for viewing PDF files in Firefox, follow these steps:
- Click the menu button and click Options (Preferences for Linux or Mac).
- In the Options (or Preferences) tab, select the Applications panel.
- In the Search field, type PDF to find the Portable Document Format (PDF) entry.
- Use the drop-down menu for that entry under the Action column, to select your favorite PDF reader. To view PDF files in Firefox, choose Preview in Firefox.
For more information, see View PDF files using Firefox’s built-in viewer.
Hi Branton , i want firefox to save pdf automatically , not to preview in firefox. i changed "preview in firefox " to "save File" , when i launch the browser again , the setting is back to "preview in Firefox"
You'll have to take a look at the How to fix preferences that won't save support documentation to fix the broken preferences.
Try to rename/remove handlers.json and delete mimeTypes.rdf if present in the Firefox profile folder with Firefox closed to reset all file actions.
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Directory:
Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder - http://kb.mozillazine.org/Profile_folder_-_Firefox