Scrolling through old topics, I came across this post: Open local file in browser. The OP there asks to show a universal way to open a local file in any browser. There offered one confusing method and it is not at all practical. Therefore, I decided to offer my solution, simple and universal indeed. Perhaps someone know way to do it even better, but for now, here is my script:
set aLocalFile to alias "Untitled:Users:123:Desktop:Google.html" -- edit as need
set myApplication to choose application -- any browser
set applicationFile to path to myApplication
try
tell application "Finder" to open aLocalFile using applicationFile
on error
display dialog "The chosen application can't open file of this type"
quit myApplication
end try