title: Selenium Python - How to click a span with given text
body: <p>I need to click a row in a table, I'm unable to do so. To be more specific, I need to click ALL_USA, you can see in the code below.
  My HTML code is below:</p>
  
  <pre><code>&lt;div id="table" arid="1" arwindowid="0" style="height: 299px; width: 638px;"&gt;
   &lt;div class="TableHdr" style="visibility: hidden; display: none; width: 638px;"&gt;
    &lt;div class="TableInner" style="top: 0px; height: 277px; width: 638px;"&gt;
     &lt;div class="BaseTableOuter" draghandler="BaseTable_DragHandler" style="height: 275px; width: 636px;"&gt;
      &lt;div class="BaseTableColHeaders" style="width: 636px; left: 0px;"&gt;
       &lt;div class="BaseTableInner" style="top: 16px; height: 259px; width: 636px;  overflow-y: auto; overflow-x: hidden;"&gt;
        &lt;table id="T1" class="BaseTable" title="" style="width: 2px;"&gt;
     &lt;colgroup cols="1"&gt;
    &lt;tbody&gt;
          &lt;tr class="hiddentablehdr"&gt;
          &lt;tr class="" tabindex="0" arrow="0"&gt;
          &lt;tr tabindex="0" arrow="1"&gt;
          &lt;tr tabindex="0" arrow="2"&gt;
          &lt;tr tabindex="0" arrow="3"&gt;
          &lt;tr class="SelPrimary" tabindex="0" arrow="4"&gt;
          &lt;td class="BaseTableCellOdd BaseTableCellOddColor BaseTableStaticText" "scope="row" style="width: 636px;"&gt;
            &lt;nobr class="dp " style="text-align: left; width: 636px;"&gt;
               &lt;span style="padding: 1px 4px;float:left;"&gt;ALL_USA&lt;/span&gt;
           &lt;/nobr&gt;
       &lt;/td&gt;
    &lt;/tr&gt;
   &lt;tr tabindex="0" arrow="5"&gt;
  </code></pre>