title: How to find a value in a table with no identifiers? (Python, Selenium)
body: <p>I have a webpage with a table with many rows. A user will give me a number (15308) which can be found in the top line with the first <code>&lt;td&gt;</code> tag, and this is the only information I will have. I want to be able to use this number to find the data between the <code>&lt;th&gt;&lt;/th&gt;</code> tag (more specifically the 0), but only for the table row. For example, I attached two table rows and I want the <code>&lt;th&gt;</code> data using the number 15308, but not the <code>&lt;th&gt;</code> data from the table row that has the number 15309 in it's first <code>&lt;td&gt;</code>. Any help is appreciated!<br>
  Desired Output: 0</p>
  
  <pre><code>&lt;tr&gt;
  &lt;td&gt;&lt;a href="http://sdb.admin.uw.edu/timeschd/UWNetID/sln.asp?QTRYR=SPR+2019&amp;amp;SLN=15308"&gt;15308&lt;/a&gt;&lt;/td&gt;
  &lt;td nowrap=""&gt;INFO   101  &lt;/td&gt;
  &lt;td&gt;A &lt;/td&gt;
  &lt;td align="CENTER"&gt;LC&lt;/td&gt;
  &lt;td&gt;SOCIAL NETWORKING   &lt;/td&gt;
  &lt;td align="CENTER"&gt; 150&lt;/td&gt;
  &lt;td align="CENTER"&gt; 150&lt;/td&gt;
  &lt;td align="CENTER"&gt; 250&lt;/td&gt;
  &lt;th align="CENTER"&gt;  0&lt;/th&gt;&lt;td align="CENTER"&gt; 229&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;a href="http://sdb.admin.uw.edu/timeschd/UWNetID/sln.asp?QTRYR=SPR+2019&amp;amp;SLN=15309"&gt;15309&lt;/a&gt;&lt;/td&gt;
  &lt;td nowrap=""&gt;INFO   101  &lt;/td&gt;
  &lt;td&gt;AA&lt;/td&gt;
  &lt;td align="CENTER"&gt;LB&lt;/td&gt;
  &lt;td&gt;SOCIAL NETWORKING   &lt;/td&gt;
  &lt;td align="CENTER"&gt;  25&lt;/td&gt;
  &lt;td align="CENTER"&gt;  25&lt;/td&gt;
  &lt;td align="CENTER"&gt;  26&lt;/td&gt;
  &lt;th align="CENTER" style=""&gt;  2&lt;/th&gt;&lt;td align="CENTER"&gt;  21&lt;/td&gt;
  &lt;td&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>