title: How to click on a Particular email from gmail inbox in Selenium?
body: <p>I hv to click on a particular email, in that case what should I do? I seen there is a Webtable with multiple indexes, I hv to select 1 &amp; click on it. does anyone have code how to handle webTables in WebDriver? See exact situation in below screen-
  <a href="http://screencast.com/t/XRbXQVygNkN6" rel="nofollow noreferrer">http://screencast.com/t/XRbXQVygNkN6</a></p>
  
  <p>I was trying with below code -Plz suggest me for rest of the action.</p>
  
  <p>After gmail Login-</p>
  
  <blockquote>
    <p>1st Ihv clicked on inbox link--->>then Promotions--->>then I hv to click on particular email</p>
  </blockquote>
  
  <pre><code>WebElement PromotionsSection =driver.findElement(By.xpath("//div[contains(@id,':2y')]"));
  PromotionsSection.click();
  
  WebElement email=driver.findElement(By.xpath(".//*[@id=':1g4']/b"));
  email.click();
  </code></pre>