title: Selenium - unable to locate element by classname
body: <p>I want to find a <code>p</code> tag with <code>class = "big-number"</code>. Here is the code I wrote:</p>
  
  <pre><code>WebElement myDynamicElement = (new WebDriverWait(driver, 10)).until(ExpectedConditions.presenceOfElementLocated(By.className("big-number")));
  System.out.println(driver.getTitle());
  System.out.println(myDynamicElement);
  </code></pre>
  
  <p>Here is my output:</p>
  
  <pre><code>[[FirefoxDriver: firefox on MAC (fed46ad4-9ca9-9344-a57a-1d336db3927c)] -&gt; class name: big-number]
  </code></pre>
  
  <p>I cannot identify the error, it is giving me an output but its makes no sense to me. 
  Any tips on how I can at least identify my error? </p>
  
  <p>I am certainly sure the element is present, here is the HTML code: </p>
  
  <pre><code>    &lt;div id="users-online-container" style=""&gt;
          &lt;img class="big-number-icon" src="images/usersOnline.png"&gt;
          &lt;p class="big-number"&gt;228&lt;/p&gt;
          &lt;p class="caption"&gt;Users Online&lt;/p&gt;
      &lt;/div&gt;
      &lt;div id="users-online-loading"&gt;&lt;/div&gt;
  </code></pre>