title: Setting up PhantomJs with Protractor does not work
body: <p>i'm starting my adventure with Protractor &amp; Jasmine &amp; PhantomJS. What I wanted to achieve is to use PhantomJS to run tests from ProtractorDemo. But I failed, and I don't know why. Where are exact steps:</p>
  
  <p>I've installed protractor-demo (<a href="https://github.com/juliemr/protractor-demo">https://github.com/juliemr/protractor-demo</a>)</p>
  
  <pre><code>git clone https://github.com/juliemr/protractor-demo.git
  cd protractor-demo
  npm install
  </code></pre>
  
  <p>Then I've installed phantomjs:</p>
  
  <pre><code>npm install --save-dev phantomjs
  </code></pre>
  
  <p>Then I've updated configuration (based on <a href="http://angular.github.io/protractor/#/browser-setup">http://angular.github.io/protractor/#/browser-setup</a>):</p>
  
  <pre><code>capabilities: {
    'browserName': 'phantomjs',
  
    /* 
     * Can be used to specify the phantomjs binary path.
     * This can generally be ommitted if you installed phantomjs globally.
     */
    'phantomjs.binary.path':'./node_modules/phantomjs/bin/phantomjs',
  
    /*
     * Command line arugments to pass to phantomjs. 
     * Can be ommitted if no arguments need to be passed. 
     * Acceptable cli arugments: https://github.com/ariya/phantomjs/wiki/API-Reference#wiki-command-line-options
     */
    'phantomjs.cli.args':['--logfile=PATH', '--loglevel=DEBUG']
  }
  </code></pre>
  
  <p>Full config file looks like this:</p>
  
  <pre><code>// Tests for the calculator. exports.config = {   seleniumAddress: 'http://localhost:4444/wd/hub',
  
    specs: [
      'spec.js'   ],
  
    capabilities: {
        'browserName': 'phantomjs',
  
        /* 
         * Can be used to specify the phantomjs binary path.
         * This can generally be ommitted if you installed phantomjs globally.
         */
        'phantomjs.binary.path': './node_modules/phantomjs/bin/phantomjs',
  
        /*
         * Command line arugments to pass to phantomjs. 
         * Can be ommitted if no arguments need to be passed. 
         * Acceptable cli arugments: https://github.com/ariya/phantomjs/wiki/API-Reference#wiki-command-line-options
         */
        'phantomjs.cli.args': ['--logfile=PATH', '--loglevel=DEBUG']   } };
  </code></pre>
  
  <p>Then I've executed commands from tutorial:</p>
  
  <pre><code>.\node_modules\.bin\webdriver-manager update
  </code></pre>
  
  <p>I've started WebDriver and web server:</p>
  
  <pre><code>.\node_modules\.bin\webdriver-manager start
  npm start
  </code></pre>
  
  <p>The output from this command was:</p>
  
  <pre><code>Using the selenium server at http://127.0.0.1:4444/wd/hub
  Server running at http://localhost:3456
  </code></pre>
  
  <p>And final step:</p>
  
  <pre><code>node_modules\.bin\protractor test\conf.js
  </code></pre>
  
  <p>and the output form other webdriver-manager console window was:</p>
  
  <pre><code>15:23:10.181 INFO - Executing: [new session: Capabilities [{phantomjs.binary.path=./node_modules/phantomjs/bin/phantomjs, count=1, browserName=phantomjs, phantomjs.cli.args=[--logfile=PATH, --loglevel=DEBUG]}]])
  15:23:10.192 INFO - Creating a new session for Capabilities [{phantomjs.binary.path=./node_modules/phantomjs/bin/phantomjs, count=1, browserName=phantomjs, phantomjs.cli.args=[--logfile=PATH, --loglevel=DEBUG]}]
  15:23:10.203 INFO - executable: d:\dev\protractor-demo\.\node_modules\phantomjs\bin\phantomjs
  15:23:10.203 INFO - port: 44410
  15:23:10.203 INFO - arguments: [--logfile=PATH, --loglevel=DEBUG, --webdriver=44410, --webdriver-logfile=d:\dev\protractor-demo\phantomjsdriver.log]
  15:23:10.204 INFO - environment: {}
  </code></pre>
  
  <p>But nothing happens. I see not result of executed tests. Is there something I'm missing? When I change the browser from phantomjs to chrome, I see test results.</p>