title: Browser Restart Using Geb & Spock within same test
body: <p>I would like to be able to restart my browser session mid test using Geb and Spock Framework.  I no howto close the browser and update after test compltion etc,  but when i close during the test and try and re use the browser object i get a session error thrown by selenium.  Below is the base outline i am trying to execute.  NB never allows me to navigate to the new StoreHome and if i try and use just Browser i get error thrown.</p>
  
  <pre class="lang-java prettyprint-override"><code>@Category(High.class)
  def "TC1: Verify Browser Restart"() {
      when: "On my StoreFront HP wait until title displayed"
      to StoreHomePage
      waitFor { homepagetitle.displayed }
  
      then: "Update your site picker"
      mySitePicker.click()
      waitFor { myNewHomePageTitle.displayed }
  
      when: "Close the browser and insure on restart new page is loaded"
      browser.close()
      browser.quit()
  
      def nb = new Browser()
      nb.to(NewStoreHomePage)
  
      then: "Validate on New HP"
      asset myNewHomePageTitle.displayed
  }
  </code></pre>