title: Xpath for a div containing text
body: <p>I'm using selenium to execute test on a html page. I only can use xpath to locate element. I'm trying to make an xpath that allow me to locate all the div that contains a text, so i could keep the reference of these WebElement with findElements, whatever it is as long as he is not empty.
  So i have this xpath :</p>
  
  <blockquote>
    <p>//div[5]/div/div[2]</p>
  </blockquote>
  
  <p>And i want to locate all the div element that contains text inside this div (the div located by //div[5]/div/div[2])</p>
  
  <p>I have tried different ways using text() or matches() but i can't make it work, by exemple :</p>
  
  <blockquote>
    <p>//div[5]/div/div[2]/div[matches(text(), '*', 'i')</p>
  </blockquote>
  
  <p>What should i do ?</p>