title: How to solve the stale element reference exception in Selenium on clicking on button and verifying the title of next page?
body: <p>The below test is written using Selenium-</p>
  
  <p>I have a test case where I click on a "next>>" button and the application performs some calculation on server and renders to a new page, but after clicking the "next>>" button sometimes it takes 1-2 minutes to open the next page.
  In this test case I am verifying the title of next page to confirm that the next page actually opened and after that I perform further actions to this next page.</p>
  
  <p>But the problem I am facing is when I click on "next>>" button and server take some time, the code to verify the title gives stale Element Reference Exception. If I remove the verify Title code block it perform further actions without any error.
  Please suggest some solution to this problem.</p>