Hi, @ArturAs. You might find the following macro useful. I just updated it to properly handle local files.
That macro supports: Safari, Orion, Chrome, Brave, Edge, Vivaldi, Arc, or Firefox.
To open your example file in Chrome, you'd use this action to call the macro:
Execute a Macro.kmactions (606 B)
c:file:///Users/foobar/Desktop/myTestHTML.html
In this case the c specifies Chrome.
One advantage of using this macro is that if the local file is already open in a browser tab, the existing tab will be activated. In contrast, most methods would open a new tab.
