title: How to print values present in <nobr> tag using selenium webdriver
body: <p>it would be really helpful if someone could point out to me in the right direction. 
  I am trying to print values which are present in nobr tag.</p>
  
  <p>this is my code.</p>
  
  <pre><code>import java.util.List;
  
  import org.openqa.selenium.By;
  import org.openqa.selenium.WebDriver;
  import org.openqa.selenium.WebElement;
  import org.openqa.selenium.firefox.FirefoxDriver;
  import org.testng.annotations.Test;
  import org.testng.annotations.BeforeTest;
  import org.testng.annotations.AfterTest;
  
  public class appannieuserrating {
      public static WebDriver driver;
    @Test
    public void f() throws Exception{
        driver.findElement(By.id("login-button")).click();
           driver.findElement(By.id("username")).sendKeys("sample.test@gmail.com");
           driver.findElement(By.id("password")).sendKeys("password");
           driver.findElement(By.id("login_submit_button")).click();
           Thread.sleep(5000);
           driver.navigate().to("https://www.appannie.com/apps/ios/app/storage-hunters-uk-the-game/reviews/?date=2015-07-06~2015-07-06");
           Thread.sleep(5000);
  
           String s1 = driver.findElement(By.cssSelector(".ngCellText.cell-inner.ng-scope")).findElement(By.tagName("img")).getAttribute("src");
           System.out.println(s1);
  
    }
    @BeforeTest
    public void beforeTest() {
        driver = new FirefoxDriver();
        driver.get("https://www.appannie.com/");
    }
  
    @AfterTest
    public void afterTest() {
    }
  
  }
  
  
  
      &lt;div class="ngCanvas" ng-style="canvasStyle()" style="height: 467px;"&gt;
  &lt;div class="ng-scope ngRow even" ng-row="" ng-class="row.alternatingRowClass()" ng-click="row.toggleSelected($event)" ng-repeat="row in renderedRows" ng-style="rowStyle(row)" style="top: 0px; height: 58px;"&gt;
  &lt;div class="ngCell col0 colt0" ng-class="{'sorted': col.sortDirection}" ng-repeat="col in renderedColumns" style="height: 58px;"&gt;
  &lt;div class="ngVerticalBar ngVerticalBarVisible" ng-class="{ ngVerticalBarVisible: !$last }" ng-style="{height: rowHeight}" style="height: 58px;"&gt; &lt;/div&gt;
  &lt;div ng-cell=""&gt;
  &lt;div class="ngCellText cell-inner ng-scope"&gt;
  &lt;span stars="row.getProperty(col.field)" aa-stars=""&gt;
  &lt;nobr&gt;
  &lt;img alt="*" src="/media/pictures/star-whole.png"&gt;
  &lt;img alt="*" src="/media/pictures/star-whole.png"&gt;
  &lt;img alt="*" src="/media/pictures/star-whole.png"&gt;
  &lt;img alt="*" src="/media/pictures/star-whole.png"&gt;
  &lt;img alt="*" src="/media/pictures/star-whole.png"&gt;
  &lt;/nobr&gt;
  &lt;/span&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Here am trying to count the number of stars present in the "nobr" tag somehow its printing null value.</p>
  
  <p>kindly point me in the right direction guys.</p>