title: Handle elements that have changing ids all the time through Selenium Webdriver
body: <p>I am running the script to automate test cases and having this unique problem.
  I have detected and used IDs of the elements for click etc. purpose. However, all of a sudden these ids have changed and the script works no more.
  Another weird thing is those IDs are same as in script when inspected in Chrome but different in Firefox driver browser. </p>
  
  <p>Firebug for test driver: - </p>
  
  <pre><code>&lt;p class="description" onclick="selectElementTextListForIE(this,'tile29', 'tile19');selectElementTextList(this,'tile29', '')" id="tile29_span_0_0"&gt;
                                                              Platinum
                                                          &lt;/p&gt;
  </code></pre>
  
  <p>Chrome inspector for same element: - </p>
  
  <pre><code>&lt;p class="description" onclick="selectElementTextListForIE(this,'tile20', 'tile19');selectElementTextList(this,'tile20', '')" id="tile20_span_0_0"&gt;
                                                              Platinum
                                                          &lt;/p&gt;
  </code></pre>
  
  <p>Also, what could be the best strategy for detecting such elements whose IDs are generated on run.
  I even tried using XPATH but that too contains id's reference 
  eg. @id="tile276_input </p>
  
  <p>Any help will be appreciated.</p>
  
  <p>Thanks.</p>
  
  <p>Abhishek</p>