title: Select Link in Table Rows using Selenium for Python
body: <p>I am looking to click a link using Selenium in Python. The link is contained within a table that has a dynamic number of rows, and I want to select the link for "Job Created" based on the most recent date. The tricky part is that the link is not the date itself, but a separate column on the row.</p>
  
  <p>Table format is as below:</p>
  
  <p><a href="https://i.stack.imgur.com/Cioae.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cioae.png" alt="enter image description here"></a> </p>
  
  <p>A possible solution I could do is to do a: button = find_elements_by_link_text("Job Created"), then specify button[0].click() , but I would prefer if there would be a way to select the Job Status link based on the creation time. </p>
  
  <p>Sample code for table: </p>
  
  <pre><code>                &lt;tr&gt;
                  &lt;!--td&gt;1&lt;/td&gt;
                  &lt;td&gt;&lt;/td--&gt;
                  &lt;td&gt;2018/12/1 16:12:33 UTC&lt;/td&gt;
                  &lt;td&gt;&lt;a target="_blank" href="/sample/sample"&gt;Job Created&lt;/a&gt;&lt;/td&gt;
  </code></pre>
  
  <p>Thanks!</p>