title: Xpath for a div specifying a class and just one style attribute
body: <p>I want to write an xpath to identify a div which has the class foo and the display: block. I wrote</p>
  
  <pre><code>div[@class="foo" and @style="*display: block*"]
  </code></pre>
  
  <p>but it doesn't work. Is it correct to use and? is it correct to use asterisks like in regex expressions?</p>