title: How to find element by css selector witch contains attribute and text
body: <pre><code>&lt;span _ngcontent-c77="" class="status-label success" tooltipcontainer="body" tooltipheader="Error" tooltipmode="click" tooltipposition="top" data-test-id="status"&gt; online &lt;/span&gt;
  </code></pre>
  
  <p>In xpath i can find this element by</p>
  
  <pre><code>//*[@data-test-id="status" and text()=" online "]
  </code></pre>
  
  <p>But i can't understand how to find this element with containing text ' online ' using css selector. Help me with this, please.</p>