title: No browsers available, yet actions requested?
body: <p>I'm getting this error while trying to capture a browser using the JsTestDriver:</p>
  
  <pre><code>java.lang.RuntimeException: No browsers available, yet actions [com.google.jstestdriver.RunTestsAction@5427ee05] requested. If running against a persistent server please capture browsers. Otherwise, ensure that browsers are defined.
      at com.google.jstestdriver.browser.BrowserActionExecutorAction.run(BrowserActionExecutorAction.java:94)
      at com.google.jstestdriver.ActionRunner.runActions(ActionRunner.java:81)
      at com.google.jstestdriver.embedded.JsTestDriverImpl.runConfigurationWithFlags(JsTestDriverImpl.java:342)
      at com.google.jstestdriver.embedded.JsTestDriverImpl.runConfiguration(JsTestDriverImpl.java:233)
      at com.google.jstestdriver.Main.main(Main.java:70)
  </code></pre>
  
  <p>Basically, what I'm doing is the following:</p>
  
  <ol>
  <li><p>Starting the JsTestDriver server with:</p>
  
  <p>nohup java -jar JsTestDriver-1.3.5.jar --port 9876 > jstd.out 2> jstd.err &lt; /dev/null &amp;</p></li>
  <li><p>Then I'm trying to capture a browser with:</p>
  
  <p>nohup ./phantomjs phantomjs-jstd.js > phantomjs.out 2> phantomjs.err &lt; /dev/null &amp;</p></li>
  <li><p>And finally I try to run the tests with:</p>
  
  <p>java -jar JsTestDriver-1.3.5.jar --server <a href="http://localhost:9876" rel="nofollow">http://localhost:9876</a>  --config ../../jsTestDriver.conf --tests all</p></li>
  </ol>
  
  <p>I have to say, that this is happening after I have updated the Ubuntu server I had, from 11.10 to 12.04. It could help to bring some light to the issue I'm experiencing here.</p>
  
  <p>I have no idea about what's going on...</p>
  
  <p>By the way, I have accessed the link <a href="http://localhost:9876" rel="nofollow">http://localhost:9876</a> and I get this output HTML:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;html&gt;
    &lt;head&gt;
      &lt;title&gt;JsTestDriver&lt;/title&gt;
      &lt;script&gt;
        function getEl(id){return document.getElementById(id);}function toggle(id) {
  if (getEl(id).style.display=='block') {getEl(id).style.display='none';} else {getEl(id).style.display='block';}}
      &lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
      &lt;a href="/capture"&gt;Capture This Browser&lt;/a&gt;
      &lt;br/&gt;
      &lt;a href="/capture?strict"&gt;Capture This Browser in strict mode&lt;/a&gt;
      &lt;br/&gt;
      &lt;p&gt;&lt;strong&gt;Captured Browsers: (0)&lt;/strong&gt;&lt;/p&gt;
    &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Which tells me that there is something wrong since there are no elegible browsers.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>While trying in a different machine (Fedora 21), I have successfully executed everything. The different output I had was when running the second command, the one that attempts to capture a browser. The output I got was this one:</p>
  
  <pre><code>Wed Apr 13 2016 12:46:33 GMT+0200 (CEST): Attempting (1) to load: http://localhost:9876/capture
  Wed Apr 13 2016 12:46:34 GMT+0200 (CEST): Finished loading http://localhost:9876/capture with status: success
  </code></pre>
  
  <p>And when visiting the URL <a href="http://localhost:9876" rel="nofollow">http://localhost:9876</a> now I see there is one Captured browser. Still no clue about what happens in the Ubuntu 12.04 server.</p>