title: Getting all the cell values from table using table header using Webdriver
body: <p><a href="https://i.stack.imgur.com/2FIGK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2FIGK.png" alt="Table contents"></a></p>
  
  <p>Below is the HTML code for the tables:</p>
  
  <p><strong>I need to extract values from table preceding with header as "Opportunities".</strong> 
  Could someone please suggest the best way forward as I can extract values fine if they belong to the same table but I need help when they are in two different table and i need to look for table opportunities and than extract data from the preceding table. </p>