XPath "OR" Statement

In an OR expression, two conditions are used, and any one condition, either 1st condition or 2nd condition, should be true to find the elements.

It has the following syntax:

//tagname[XPath statement-1 or XPath statement-2]

Comments