This is the Linux version of this question. Does anyone have a method for forcing a page refresh on firefox from the command-line?
As mentioned elsewhere, you can also use the xvkbd tool as in the following:
$ xvkbd -window Firefox -text "\Cr"