Typing in text into a field with WWW::Firefox::Mechanize

86 Views Asked by At

I am using WWW::Mechanize::Firefox to do some automation task on a website.

Now I am facing the problem that I need to simulate the entering of characters into an <input type="text"> field. This is because the typing causes the site to do some AJAX calls to the webserver.

So, is there a way to use W::M::F to have it enter or type characters.

1

There are 1 best solutions below

0
On

I managed to find a way around with Win32::GuiTest. I use this module to simulate the necessary key strokes with SendKeys. – René Nyffenegger