Syntax errors are hidden

29 views
Skip to first unread message

Iulian Onofrei

unread,
Jul 21, 2015, 11:11:43 AM7/21/15
to fire...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages