1

firefoxバージョン18を搭載したWindows 32マシンでperlバージョン5.14.2(アクティブだと思います)を使用しています。

次のコードを実行しようとしています。

#!/usr/bin/perl

use strict;
use warnings;
 use WWW::Mechanize::Firefox;

 my $mech = WWW::Mechanize::Firefox->new(
      activate => 1, # bring the tab to the foreground
 );

  $mech->get('https://familysearch.org/search/collection/results#count=20&query=%2Bevent_place_level_1%3ACalifornia%20%2Bevent_place_level_2%3A%22San%20Diego%22%20%2Bbirth_year%3A1923-1923~%20%2Bgender%3AM%20%2Brace%3AWhite&      collection_id=2000219',':content_file'
  'main.html');


  1;

次のエラーが表示されます: command timed-out at C:/Perl/site/lib/MozRepl/Client.pm line 186

このエラーの修正にご協力いただければ幸いです。

ただし、次を実行すると動作します。

 #!/usr/bin/perl

 use strict;
 use warnings;
 use WWW::Mechanize::Firefox;

ツールの下に、MozRepl が表示されます。[ActivateStart] をクリックしました。

4

0 に答える 0