Bug 975249 - Add fillInputField method.

https://bugzilla.mozilla.org/show_bug.cgi?id=975249