title: How to restart protractor instance with a new session?
body: <p>I need to create a new protractor session in my test.</p>
  
  <p>I tried:</p>
  
  <pre><code>browser.get()
  browser.quit()
  browser.get()
  </code></pre>
  
  <p>But it returns an error: </p>
  
  <blockquote>
    <p>Failed: This driver instance does not have a valid session ID (did you call WebDriver.quit()?) and may no longer be used.</p>
  </blockquote>
  
  <p>Also I tried to use browser.createSession(), but it returns me:</p>
  
  <blockquote>
    <p>has no method 'createSession'</p>
  </blockquote>
  
  <p>So, I need something like restartBrowserBetweenTests options, but I want to call in any part of test. Thank you in advance. </p>