As far as I understand, "Selenium server did not return proper status" happens in the Selenium::Remote::RemoteConnection class. Here is how we can try to get more information on this problem:

  1. perldoc -l Selenium::Remote::RemoteConnection to display the file name of the module
  2. perl -d yourprogram.pl
  3. f path/to/Selenium/Remote/RemoteConnection.pm
  4. Use l command to view the source and b command to place a breakpoint before croak "Selenium server did not return proper status";
  5. c to run the program; after it stops on the brakepoint, use x to examine values of variables and expressions. Does Selenium client really connect where it is supposed to (localhost:8190)? What is returned in $status object?

I had a problem with Selenium client incorrectly guessing that I have a webdriver running and trying to connect to my I2P instance.

In reply to Re: Error “selenium server did not return proper status” when starts PhantomJS by aitap
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.