Maybe there was some kind of focus issue your first time, where the browser wasn't sending the keystrokes to the page.