I have the following code:
$IEDocument = $IE->{Document};
$Forms = $IEDocument->all;
$form = $forms->item{'search');
$form->click;
# it clicks the search button which submits to a page
# then I do the following
$doc = $IE->{Document}; #Not sure if correct
$forms = $doc->{DocumentElement}->{InnerHTML};
$form = $forms->item('field');
$form->{value} = "12345";
# The following code must submit to a page, then put new info in an input field on that new submitted page
But it doesn’t work, whats a way to do this? I researched so much, someone suggested to use WWW::Mechanize, but when I use it I can’t take screenshot of the page, because the Mechanize just shows whats its doing in CMD, and doesn’t really open a browser. (BTW is there a way to open a browser with WWW::Mechanize and see whats actually going on?)
Please give some details about how it
To take screenshots you can use WWW::Mechanize::Firefox module: