Hello Monks,
I have successfully created a crawler with WWW::Mechanize::Firefox that downloads a file that I need. My problem is that I am having trouble autoclosing the tab.
my $mech = WWW::Mechanize::Firefox->new(launch => 'C:\Program Files (x
+86)\Mozilla Firefox\firefox.exe',
autoclose => 1,
autodie => 1);
It seems to auto close when I sign out of my account, but not automatically when the script is done- even if I have 'exit;' at the end. Do I need to do this separately with the Firefox::Application module?