title: In NodeJS selenium-webdriver, how do you get innerHTML of element
body: <p>I've gone through: <a href="https://code.google.com/p/selenium/wiki/WebDriverJs" rel="nofollow">https://code.google.com/p/selenium/wiki/WebDriverJs</a> and it doesn't have any information.  So, can someone help.</p>
  
  <p>I have </p>
  
  <pre><code>var element = driver.findElements(webdriver.By.id("something"))
  console.log('text='+element.getAttribute("inner‌​HTML"));
  </code></pre>
  
  <p>But doesn't work.  Most of the documentation appears to be for JAVA not nodeJS.  If you come across a .getText() function, I'm pretty sure that is JAVA. I actually just want the text part innerText, opposed to innerHTML.  But that might be asking too much.   </p>