Alternatively, you can use WWW :: Mechanize to create an agent, as we do at work. We have a tool called AppMon, which is actually just a dramatic wrapper around Mechanize.
The Mechanize module allows you to use scripts that look like this:
use WWW::Mechanize;
my $Agent = WWW::Mechanize->new(cookie_jar => {});
$Agent->get("http://www.google.com/search?q=stack+overflow+mechanize");
print "Found Mechanize" $Agent->content =~ /WWW::Mechanize/;
and will lead to the conclusion "Found Mechanize". This is a very simple script, but rest assured that you can interact well with forms.
Ruby Watir Selenium , ( ) . Selenium firefox, , .
- 2016
, webdriver, Perl .
Selenium:: Remote::