title: XPath: OR in the middle or in the end of xpath not working
body: <p>XPath OR(|) in the middle or in the end does not work. For example,</p>
  <pre><code>//div//(div | span)
  //div(//div | //span)
  </code></pre>
  <p>Error: Invalid xpath.</p>
  <p>The following works:</p>
  <pre><code>//div//div | //div//span
  </code></pre>
  <p>Tried with Chrome console(XPath 1.0, I believe).</p>