in reply to Win32 send keystrokes to webapp
I used Win32::GUITest for controlling other applications. Of course, you're likely better off by controlling your web application through Javascript, but that may or may not be available.