title: Element is no longer attached to the DOM, Selenium WebDriver
body: <p>Scenario:</p>
  
  <ol>
  <li>Select a value in drop down</li>
  <li>Download the sheet</li>
  <li>Come out of loop</li>
  <li>Select 2nd option</li>
  <li>Download the other sheet</li>
  </ol>
  
  <p>But it is not selecting the second option in the loop and giving this error message:</p>
  
  <pre><code>Element is no longer attached to the DOM
  Command duration or timeout: 11 milliseconds
  For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
  Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:59:12'
  System info: host: 'Treselle', ip: '192.168.0.123', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_60'
  Session ID: 8b83d2b4-acfd-4bb5-9a07-a4155e98dfc1
  Driver info: org.openqa.selenium.firefox.FirefoxDriver
  Capabilities [{platform=WINDOWS, acceptSslCerts=true, javascriptEnabled=true, cssSelectorsEnabled=true, databaseEnabled=true, browserName=firefox, handlesAlerts=true, nativeEvents=false, webStorageEnabled=true, rotatable=false, locationContextEnabled=true, applicationCacheEnabled=true, takesScreenshot=true, version=45.0}]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  </code></pre>