I just installed WWW::Mechanize and will be using it to fill out forms on various websites. I was under the impression that Mechanize behaved like a browser. I have been able to access some sites and query for some basic info such as Title and Input Fields. How does the Browser work? What command am I missing?
Any assistance would be greatly appreciated.
My code is as follows:
use WWW::Mechanize;
my $mech = WWW::Mechanize->new();
$mech->get("https://www.700credit.com/zeus/");
$mech->dump_forms();
$mech->find_all_inputs();
Running these 5 lines of code, I am attaching to the website and I am receiving all of the fields in the command prompt window. But no Browser. Do I need to declare what Browser I want to use? Do I need to attach the Browser? This is where my level of confusion stands...Help!