Firefox 22 and 23 have problems with typeKeys (see this for example).
I reverted to FireFox 21 which works fine. You can download the en-US version here. Alternatively you can use chocolatey and install it with
cinst Firefox -Version 21.0
Don't forget to turn off automatic updates in the settings.
Alternatively you could try using sendKeys
instead.