title: Jasmine/Karma test: browser is not defined
body: <p>If this test:</p>
  
  <pre><code>'use strict'
  
  describe('application', function() {
      it('should login', function() {
          browser().navigateTo('/');
          expect('111').toBe('111');
      });
  });
  </code></pre>
  
  <p>includes the <code>"browser"</code> line, the result is:</p>
  
  <pre><code>Chrome 26.0 (Windows) application should login FAILED
      ReferenceError: browser is not defined
          at null.&lt;anonymous&gt; (...../test/js/e2e/tests/test.js:6:9)
  Chrome 26.0 (Windows): Executed 1 of 1 (1 FAILED) (0.359 secs / 0.004 secs)
  </code></pre>
  
  <p>but without this line the test succeeds.</p>
  
  <p>People suggest to include <code>angular-scenario.js</code>, but this breaks tests</p>
  
  <pre><code>expect('111').toBe('222');
  </code></pre>
  
  <p>is evaluated as true.</p>
  
  <p>What to do?</p>