title: selenium standalone terminates with unknown error
body: <p>when i start my test the browser opens and an ip is displayed after few sec the ip is changed to "data;" in terminal the test is been looped and sends err ms  </p>
  
  <p>empresss-Mac-mini:myApp admin$ protractor test/e2e.js 
      Using the selenium server at <a href="http://localhost:4444/wd/hub" rel="nofollow">http://localhost:4444/wd/hub</a>
      [launcher] Running 1 instances of WebDriver
      Started
      A Jasmine spec timed out. Resetting the WebDriver Control Flow.
      F</p>
  
  <pre><code>Failures:
  1) header Module should check title text
    Message:
      Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
    Stack:
      Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
    Message:
      Failed: header is not defined
    Stack:
      ReferenceError: header is not defined
          at Object.&lt;anonymous&gt; (/Users/admin/myApp/www/head.spec.js:8:13)
      From: Task: Run it("should check title text") in control flow
      From asynchronous test: 
      Error
          at Suite.&lt;anonymous&gt; (/Users/admin/myApp/www/head.spec.js:7:4)
          at Object.&lt;anonymous&gt; (/Users/admin/myApp/www/head.spec.js:1:63)
  
  1 spec, 1 failure
  Finished in 30.019 seconds
  [launcher] 0 instance(s) of WebDriver still running
  [launcher] chrome #1 failed 1 test(s)
  [launcher] overall: 1 failed spec(s)
  [launcher] Process exited with error code 1
  </code></pre>
  
  <p>my config file is</p>
  
  <pre><code>exports.config = {
    framework: 'jasmine2',
    seleniumAddress: 'http://localhost:4444/wd/hub',
    specs: ['../www/head.spec.js'],
    multiCapabilities: [
    {
      browserName: 'chrome'
    }],
    onPrepare: function(){
          browser.driver.get('http://192.168.1.2:8100');
      }
  }
  </code></pre>
  
  <p>i named it as e2e.js
  my test file is </p>
  
  <pre><code>describe('header Module', function(){
  
     beforeEach(function() {
          var header = element(by.css('title'));
      });
  
     it('should check title text',function(){
          expect(header.getText()).toContain('Ionic Blank Starter');    
      });
  });
  </code></pre>
  
  <p>i downloaded an blank ionic app and i want to test the header contains elements "Ionic Blank Starter"</p>