Sequentum

Sequentum Training

XPath: OR & AND

XPath OR & AND:

With OR, if either of the attribute values match, the element will be selected. With AND, both attribute values must match for the element to be selected.

Example 1:	XPath= //input[@type= 'email' or @name= 'email']
Example 2:	XPath= //input[@type= 'email' and @name= 'email']
© 2021 - Sequentum - Privacy