title: How to click on a tab element using Selenium & Python
body: <p>I know there are similar questions already but none of those answers helped me.</p>
  
  <p>I'm having some issues with the following. I've got the following tabs:</p>
  
  <p><a href="https://i.stack.imgur.com/0ZtKU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0ZtKU.png" alt="enter image description here"></a></p>
  
  <p>The HTML code for that particular section looks like this:</p>
  
  <pre><code>&lt;td class="Tab1TblSelTd"&gt;&lt;div class="Tab1SelTxtNew" title="Current Selection: Common Tasks"&gt;Common Tasks&lt;/div&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a href="../task/Home?Home.tabCommon.TabHref=1&amp;amp;jato.pageSession=AKztAAVzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABHQADGN1cnJlbnRSZWFsbXQAAS90ABRDQ1RhYnMuU2VsZWN0ZWRUYWJJZHQAATB0ABVvcGVuc3NvLlNlbGVjdGVkVGFiSWR0AAEwdAASQ3VycmVudFByb2ZpbGVWaWV3dAABL3g$" name="Home.tabCommon.TabHref" class="Tab1Lnk" title="Click to configure access control" onmouseover="window.status='Click to configure access control'; return true" onmouseout="window.status=''; return true" onblur="window.status=''; return true" onfocus="window.status='Click to configure access control'; return true"&gt;Access Control&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a href="../task/Home?Home.tabCommon.TabHref=2&amp;amp;jato.pageSession=AKztAAVzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABHQADGN1cnJlbnRSZWFsbXQAAS90ABRDQ1RhYnMuU2VsZWN0ZWRUYWJJZHQAATB0ABVvcGVuc3NvLlNlbGVjdGVkVGFiSWR0AAEwdAASQ3VycmVudFByb2ZpbGVWaWV3dAABL3g$" name="Home.tabCommon.TabHref" class="Tab1Lnk" title="Click to go to Federation" onmouseover="window.status='Click to go to Federation'; return true" onmouseout="window.status=''; return true" onblur="window.status=''; return true" onfocus="window.status='Click to go to Federation'; return true"&gt;Federation&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a href="../task/Home?Home.tabCommon.TabHref=4&amp;amp;jato.pageSession=AKztAAVzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABHQADGN1cnJlbnRSZWFsbXQAAS90ABRDQ1RhYnMuU2VsZWN0ZWRUYWJJZHQAATB0ABVvcGVuc3NvLlNlbGVjdGVkVGFiSWR0AAEwdAASQ3VycmVudFByb2ZpbGVWaWV3dAABL3g$" name="Home.tabCommon.TabHref" class="Tab1Lnk" title="Click to go to Configuration" onmouseover="window.status='Click to go to Configuration'; return true" onmouseout="window.status=''; return true" onblur="window.status=''; return true" onfocus="window.status='Click to go to Configuration'; return true"&gt;Configuration&lt;/a&gt;&lt;/td&gt;
  &lt;td&gt;&lt;a href="../task/Home?Home.tabCommon.TabHref=5&amp;amp;jato.pageSession=AKztAAVzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABHQADGN1cnJlbnRSZWFsbXQAAS90ABRDQ1RhYnMuU2VsZWN0ZWRUYWJJZHQAATB0ABVvcGVuc3NvLlNlbGVjdGVkVGFiSWR0AAEwdAASQ3VycmVudFByb2ZpbGVWaWV3dAABL3g$" name="Home.tabCommon.TabHref" class="Tab1Lnk" title="Click to go to Sessions" onmouseover="window.status='Click to go to Sessions'; return true" onmouseout="window.status=''; return true" onblur="window.status=''; return true" onfocus="window.status='Click to go to Sessions'; return true"&gt;Sessions&lt;/a&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>And I want to click on <strong>Access Control</strong>.</p>
  
  <p>This is what I'm trying to use:</p>
  
  <pre><code>wait.until(ec.presence_of_element_located((By.LINK_TEXT, 'Access Control'))).click()
  </code></pre>
  
  <p>Which apparently finds the elemen OK, but it doesn't click on it. There are no exceptions or messages of any kind, it simply doesn't click it.</p>
  
  <p>I've used this approach with other links before, and it worked no problem, so I'm pretty sure I must be doing something wrong here.</p>
  
  <p>Can you help?</p>
  
  <p>Thanks!</p>