Thread WWW::Mechanize::Firefox - Url in angegebenen Tab öffnen (3 answers)
Opened by firstday at 2013-04-21 12:09

GwenDragon
 2013-04-21 15:44
#167183 #167183
User since
2005-01-17
14746 Artikel
Admin1
[Homepage]
user image
laut Doku:
Quote
$mech->new( %args )
use WWW::Mechanize::Firefox;
my $mech = WWW::Mechanize::Firefox->new();

Creates a new instance and connects it to Firefox.

Note that Firefox must have the mozrepl extension installed and enabled.

The following options are recognized:
tab - regex for the title of the tab to reuse. If no matching tab is found, the constructor dies.

If you pass in the string current, the currently active tab will be used instead.

http://search.cpan.org/perldoc?WWW%3A%3AMechanize%...

wär das wohl:
Code (perl): (dl )
my $mech = WWW::Mechanize::Firefox->new( tab => 'current');

View full thread WWW::Mechanize::Firefox - Url in angegebenen Tab öffnen