Hi,
If I use this:
//div[contains(text(), 'first') OR contains(text(), 'second')]]
and I do have one or more divs containing the texts "first" or "second", FirePath finds them, but when I try to use it in console, it tells me that it has a syntax error, and that error is that "OR" should be "or". FirePath should mark the previous xPath as containing an error not to confuse users.