NeerajPandey has asked for the wisdom of the Perl Monks concerning the following question:
I am running into an issue. I want to use WWW::Mechanize::PhantomJS. I have set it up as follow.
1. Installed Strawberry and WWW::Mechanize::PhantomJS Module
2.Downloaded PhantomJS zip, extracted it and set the path for phantomjs executable.
3. created a sample script as follow:
but when I execute this script I get the following error:BEGIN{ $ENV{HTTPS_PROXY} = 'http://myproxyserver:port'; $ENV{HTTP_PROXY} = 'http://myproxyserver:port'; } use WWW::Mechanize::PhantomJS; use Data::Dumper; my $mech = WWW::Mechanize::PhantomJS->new(); $mech->get('http://google.com'); print Dumper $mech->content();
whats that I am missing. I assume that this WWW::Mechanize::PhantomJS starts phantomjs from path specified in environment.Selenium server did not return proper status at C:/Strawberry/perl/sit +e/lib/Selenium/Remote/Driver.pm line 395.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Selenium server did not return proper status
by Corion (Patriarch) on Dec 23, 2015 at 11:05 UTC | |
by NeerajPandey (Novice) on Dec 23, 2015 at 11:59 UTC |