title: How to use Selenium get text from an element not including its sub-elements
body: <h3>HTML</h3>
  <pre><code>&lt;div id='one'&gt;
      &lt;button id='two'&gt;I am a button&lt;/button&gt;
      &lt;button id='three'&gt;I am a button&lt;/button&gt;
      I am a div
  &lt;/div&gt;
  </code></pre>
  <h3>Code</h3>
  <pre><code>driver.findElement(By.id('one')).getText();
  </code></pre>