title: Need to access a value in the HTML Table using xpath from PYTHON SELENIUM
body: <p>I have a Web browser's app UI Table  as shown like this...</p>
  
  <pre><code>DATAPOINT           VALUE           STATUS
  Output Voltage     95.0 VAC         Nominal
  PS Input Voltage   15.0 VAC         Nominal
  Inverter Status       Off           Nominal
  Major Alarm        No Alarm         Nominal
  Minor Alarm        No Alarm         Nominal
  </code></pre>
  
  <p>InnerHTML representation is something like this ...</p>
  
  <pre><code>tr[1] ---&gt; td[1]      td[2]         td[3]
  tr[2] ---&gt; td[1]      td[2]         td[3]
  tr[3] ---&gt; td[1]      td[2]         td[3]
  tr[4] ---&gt; td[1]      td[2]         td[3]
  tr[5] ---&gt; td[1]      td[2]         td[3]
  </code></pre>
  
  <p>The above table is created by HTML Table like this ...</p>
  
  <pre><code>&lt;table id="inventoryGrid1" class="table table-striped table-bordered dataTable no-footer" role="grid" style="width: 408px;"&gt;
    &lt;thead&gt;
    &lt;tbody&gt;
      &lt;tr class="odd" role="row"&gt;
        &lt;td&gt;Output Voltage&lt;/td&gt;
        &lt;td&gt;95.0 VAC&lt;/td&gt;
        &lt;td&gt;
          &lt;img src="../img/led/led_green.png"&gt;
          &lt;span&gt; Nominal &lt;/span&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr class="even" role="row"&gt;
        &lt;td&gt;PS Input Voltage&lt;/td&gt;
        &lt;td&gt;135.0 VAC&lt;/td&gt;
        &lt;td&gt;
      &lt;/tr&gt;
      &lt;tr class="odd" role="row"&gt;
        &lt;td&gt;Inverter Status&lt;/td&gt;
        &lt;td&gt;Off&lt;/td&gt;
        &lt;td&gt;
      &lt;/tr&gt;
      &lt;tr class="even" role="row"&gt;
      &lt;tr class="odd" role="row"&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>The Full xpath is ...</p>
  
  <pre><code>/html/body/div[2]/div/div/div/div[2]/div[2]/div/div/div/div[1]/div[1]/div/table/tbody/tr[1]/td[2]
  </code></pre>
  
  <p>I need to know ...</p>
  
  <ol>
  <li><p>I can't assign:<br>
  <strong>row2col3 = drv.find_element_by_xpath("/html/body/div[2]/div/div/div/div[2]/div[2]/div/div/div/div[1]/div[1]/div/table/tbody/tr[2]/td[3]")</strong> # attempting to assign a variable to element in the table( row 2 column 3) which is "Nominal"    </p>
  
  <p>Throws error: as 'list' object has no attribute ...
  Is it displaying that <em>td tag name</em> is a list ? and hence can't assign to a single variable ? 
  Anyways, I am suppose to use <strong>row2col3 = drv.find_elements_by_xpath("/html/body/div[2]/div/div/div/div[2]/div[2]/div/div/div/div[1]/div[1]/div/table/tbody/tr[2]/td[3]")</strong> in order to get it working !</p></li>
  <li><p>If I use the row2col3 element I neither can use row2col3.text nor row2col3.get_attribute("innerHTML"). So how do I get this ? Is it even possible ?</p></li>
  </ol>
  
  <p>How do I read out row2col3 particularly from the table ?
  Please forgive me for the long xpath implementation command and the bad english and also the long msg... :)</p>