Get list of elements with class name in javascript with selenium
<p>How can I get a list of elements with a certain class name in javascript with selenium?</p>

<p>I am searching for any elements with the class <code>message_body</code>. I want a array containing all of the elements that have that class.</p>

<p><code>driver.findElements(By.className("message_body"))</code> doesn't work, it seems to return something else.  </p>

<p>How can I get this list?</p>