AutomaApp / automa

A browser extension for automating your browser by connecting blocks
https://www.automa.site
Other
10.72k stars 1.09k forks source link

Import data from local file not working on Firefox #1713

Open AliceAAlves opened 1 month ago

AliceAAlves commented 1 month ago

Describe the bug Using the Firefox extension, in "Insert Data" block, I was trying to import from a local json file, but preview always shows null. I tried insert into into a variable anyway, in case the bug was just with the preview data, but the variable is still null. Using a remote like https://filesamples.com/samples/code/json/sample1.json works. Seems like the issue is with with local files only.

To Reproduce In "Insert Data" block:

File contents: { "test": 1, "test2": 2 }

Expected behavior Expected the preview data to show the file contents, which are valid json. Instead I get null

Screenshots image

Desktop (please complete the following information):

Is this a known issue or am I doing something wrong?