title: Locating elements with Selenium webdriver Css contain text
body: <p>I have problem with locating object by cssSelector and text contain</p>
  
  <p>I have</p>
  
  <pre><code>&lt;lc-detail class="ng-isolate-scope" prefix="lifeType" value="::vm.life.type" label="Life Type"&gt;
      &lt;div class="form-group col-sm-5"&gt;
          &lt;label class="col-sm-4 select-all ng-binding"&gt;Life Type&lt;/label&gt;
          &lt;div class="col-sm-5 form-control-static select-all ng-binding" ng-bind-html="::valueTranslated" style="padding-top:0"&gt;
              Message
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/lc-detail&gt;
  </code></pre>
  
  <p>I must click on last div (text) but only lc-detail.. is unique and text "Message" is unique</p>
  
  <p>i have but does't work</p>
  
  <pre><code>By.cssSelector("[label='Life Type'] [contains('Message')]"))
  </code></pre>
  
  <p>Any ideas?</p>