Apparently, I had problems with the command "f".

C:\Users\macabeus>cd C:\Users\macabeus\Desktop\bvubot C:\Users\macabeus\Desktop\bvubot>perldoc -l Selenium::Remote::RemoteCo +nnection C:\Strawberry\perl\site\lib\Selenium\Remote\RemoteConnection.pm C:\Users\macabeus\Desktop\bvubot>perl -d test.pl Loading DB routines from perl5db.pl version 1.44 Editor support available. Enter h or 'h h' for help, or 'perldoc perldebug' for more help. main::(test.pl:6): my $phantom = WWW::Mechanize::PhantomJS->new(l +og => 'DEB UG'); DB<1> f C:\Strawberry\perl\site\lib\Selenium\Remote\RemoteConnection +.pm No file matching 'C:\Strawberry\perl\site\lib\Selenium\Remote\RemoteCo +nnection.p m' is loaded. DB<2> f path/to/Selenium/Remote/RemoteConnection.pm No file matching 'path/to/Selenium/Remote/RemoteConnection.pm' is load +ed. DB<3> l 6==> my $phantom = WWW::Mechanize::PhantomJS->new(log => 'DEBUG'); 7 8: 1; DB<3> b DB<3> b 7 Line 7 not breakable. DB<4> b 8 DB<5> c [DEBUG - 2014-10-19T15:37:47.819Z] Config - config.init - {"ip":"127.0 +.0.1","por t":"8910","hub":null,"logFile":null,"logLevel":"DEBUG","logColor":fals +e} [INFO - 2014-10-19T15:37:47.897Z] GhostDriver - Main - running on por +t 8910 Selenium server did not return proper status at (eval 54)[C:/Strawberr +y/perl/ven dor/lib/Sub/Quote.pm:5] line 61. at C:/Strawberry/perl/site/lib/WWW/Mechanize/PhantomJS.pm line 214. WWW::Mechanize::PhantomJS::new("WWW::Mechanize::PhantomJS", "l +og", "DEBU G") called at test.pl line 6 Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. DB<5> x 0 0 DB<5> q C:\Users\macabeus\Desktop\bvubot>

I'm unsure how I can test the connection, because the program results in problems during the construction of the object of PhantomJS


In reply to Re^2: Error “selenium server did not return proper status” when starts PhantomJS by keplerbr
in thread Error “selenium server did not return proper status” when starts PhantomJS by keplerbr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.