Questions tagged [showsavefilepicker]

3 questions
7
votes
1 answer

showSaveFilePicker not in Firefox - what can I use instead?

With great surprise I found out that FF does not support window.showSaveFilePicker. What could I use in FF to allow saving a file from the browser programmatically? Maybe can someone explain what reasons has FF for not supporting this feature?
Marco Faustinelli
  • 3,734
  • 5
  • 30
  • 49
2
votes
1 answer

How should someone test a button that evokes `showSaveFilePicker` using Cypress?

I'm trying to test a web text editor that saves and opens files from the local system. I'm using Cypress v11.2.0 with Chrome v107. The file operations use the File System Access API through the browser-fs-access library. I'm unable to test any of…
João Melo
  • 784
  • 6
  • 16
0
votes
1 answer

How to check if File System Access API is available

I want to save a file with data input by the user on a website to the user's device using showSaveFilePicker() in Javascript (purely locally used). This is currently not supported by all browsers, especially not on mobile devices. I need a way to…