title: Need help finding an element in selenium
body: <p>Can some one help me to locate an element (without using xpath) which is displayed using : <code>&lt;i id="ext-gen759" class="icon-tool"&gt;&lt;/i&gt;</code> under a <code>&lt;div&gt;</code> tag. The HTML is as follows:</p>
  
  <pre><code>&lt;div id="ext-comp-1089" class=" MiniTbar"&gt;
  &lt;a href="javascript:void(0);" id="ext-gen760" class=" active"&gt;
  &lt;i id="ext-gen759" class="icon-tool"&gt;&lt;/i&gt;  --&gt;&gt; need to locate this.
  &lt;/a&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>I don't want to use:</p>
  
  <p><code>By.Id</code>  --> id is dynamic
  <code>By.XPath</code>  --> not stable</p>
  
  <p>I have tried the following without getting a result:</p>
  
  <pre><code>By.className("icon-tool") -- &gt; not working 
  By.partialLinkText("icon-tool") --&gt; not working 
  </code></pre>
  
  <p>Any solution?</p>