I'm trying to run Kotlin tests in Safari on macOS Big Sur and each time I'm stuck on following dialog:
It looks like that after enabling "Develop > Disable Local File restrictions" option from menu I at least can click "Open" and tests will proceed. However for obvious reasons I don't want to submit this form manually each time I'm rerunning tests. My question would be: Is there's any way to force Safari to open local html files and get rid of any confirmation dialog completely?
What I've tried so far is to add Safari to the "System Preference > Security & Privacy > Privacy > Full Disk Access" settings section, as it described here - unfortunately that doesn't seem to help.
Safari version is: Version 14.0.3 (16610.4.3.1.4)| MacOS version is: Version 11.2.1 (Big Sur)