How can I duplicate the functionality of this sublime script? The code itself says pretty much what I'd like to do:
tell application "Google Chrome" to tell the active tab of its first window
reload
end tell
tell application "Google Chrome" to activate
I'd like to do this without using some kind of testing framework/driver. Just to understand fundamentally what is going on behind this code. If it's too much work then I'll probably punt and use a Selenium Driver. I'm guessing that some library that Python has made this kind of thing trivial? And, of course, add a macro to Visual Studio/Emacs (or something) to produce the same effect.