title: Selenium Web Driver(Firefox) fails sometimes to find an element by id which is present in the web page
body: <p>I am using <code>Selenium Web Driver</code> for Fire Fox to automate a web page in<code>Python</code>.</p>
  
  <p>The issue is that sometime for some elements i am getting <code>NoSuchElementException</code> even though the element is present with the id i am searching for.</p>
  
  <p>I am using <code>find_element_by_id(id)</code> method.</p>
  
  <p>My code is </p>
  
  <p><code>d = webdriver.Firefox()</code></p>
  
  <p><code>elm5 = d.find_element_by_id("ctl00_bodyContent_tabGroupAdmin")</code></p>
  
  <p><code>elm5.click()</code> </p>
  
  <p>The HTML for that element is:</p>
  
  <pre><code>&lt;div id="ctl00_bodyContent_tabGroupAdmin" class="tab"&gt;
                  &lt;div onclick="OpenTab(3); DisableProgressBarDisplay(); return false;"&gt;
                      Group Administrators&lt;/div&gt;
                  &lt;div class="cap_right"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>Has anyone faced the same issue? Please suggest some work around.</p>
  
  <p>Thanks</p>