title: Extracting a table data from Webpage using Selenium webdriver
body: <p>Am using Selenium webdriver (in Eclipse) to automate a web app however now the requirement is to capture a table data displayed in one of the html page.
  I tried with the solutions given <a href="https://stackoverflow.com/questions/10323884/parsing-html-table-data-with-xpath-and-selenium-in-java">here</a>, <a href="https://stackoverflow.com/questions/29141763/trying-to-get-data-from-html-table-using-selenium-webdriver-for-java">here</a> and few other websites however our webpage seems to have bit different way of displaying table <a href="https://i.stack.imgur.com/RqNrK.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RqNrK.jpg" alt="enter image description here" /></a></p>
  <p>Tried to get the values using div class names as <code> String Text = driver.findElements(By.xpath(&quot;//div[@class='ag-row ag-row-even ag-row-level-0']//tr&quot;)).get(0).getText();</code> however it did not work, Index out of bounds exception is thrown</p>