The idea here is that 1) Emacs has flexible means of automation (like keyboard macros), and 2) it also has a web browser, so 3) Emacs can be used for browser automation. The conclusion seems trivial in retrospect, but I hadn't seen it discussed anywhere, so I thought the techniques involved would be worth recording.