title: Selenium IDE 1.5.0 "Element ... Not found" error
body: <p>I am executing a script in Selenium IDE 1.5.0 in which I refresh a page and sort a table of data.</p>
  
  <p>I need to reference an element of the table based on it's position.</p>
  
  <p>What I currently have:</p>
  
  <pre><code>clickAndWait    css=input[type="image"]
  click           //a[contains(text(),'Yield')]
  pause           999
  click           //a[contains(text(),'Yield')]
  pause           9999
  storeTable      id=table-0.2.14                   x
  </code></pre>
  
  <p>I'm getting the error:  </p>
  
  <blockquote>
    <p>"[error] Element id=table-0 not found".  </p>
  </blockquote>
  
  <p>However, when I hit the "find" button on the storeTable command, the appropriate element in the table is found.  </p>
  
  <p>Searching for the answer I've found forums that suggest that a pause is needed, but the pause currently being used is plenty long.</p>
  
  <p>I've also noticed that it will sometimes run successfully if I switch to an open Chrome browser and then back to the Firefox browser while it's running.  There's obviously a reason why this is happening but I'm not understanding what's happening.</p>
  
  <p>I've tried playing with the focus() command (thinking that the active window is switching) but that doesn't seem to be working either.  </p>