title: How do I write a css-selector for text that is not inside any dom element
body: <p>I need a css selector to print "grab me" without other siblings in java selenium</p>
  
  <pre><code>driver.findElement(By.cssSelector("#demo")); // "You can't grab me without this"
  </code></pre>
  
  <pre class="lang-html prettyprint-override"><code>&lt;div id="demo"&gt;
  &lt;span&gt;You can't&lt;/span&gt;
  grab me
  &lt;span&gt;without this&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>