title: How to handle web table in selenium c#
body: <p>In my application, i have to assert name on the webtable but i am unable to do so.</p>
  <p>Below is the image of my HTML code and i am unable to copy paste here.</p>
  <p><a href="https://i.stack.imgur.com/wQ4KF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wQ4KF.png" alt="enter image description here" /></a></p>
  <p>I have to get the name:&quot;Robert Brits&quot; from the web table and want to assert the same.</p>
  <p>I tried the below logic:</p>
  <pre><code> IWebElement tableElement = driver.FindElement(By.Xpath(&quot;//table[@id='globalSearchTable']&quot;));
              IList&lt;IWebElement&gt; tableRow = tableElement.FindElements(By.TagName(&quot;tr&quot;));
              IList&lt;IWebElement&gt; rowTD;
              foreach (IWebElement row in tableRow)
              {
                  rowTD = row.FindElements(By.TagName(&quot;td&quot;));
                  {
                    _____
                    }
               }
  </code></pre>
  <p>I'm not sure how to proceed further and complete the code. Could anyone help me? Thanks in advance</p>