Hi All,
I am trying to write the relative expression(XPath) to get the card details from the following website
https://www.fakenamegenerator.com/gen-random-us-us.php
I see that the card name keeps alternating between VISA and MasterCard,
I wanted to know if the following expression is possible
"//dl[dt/text()='MasterCard']/dd OR //dl[dt/text()='Visa']/dd"
Can I use OR operator to make the expression generic so that it will work for both the cases VISA or Master Card?
FYI this is for an Automation Anywhere project where I am practicing to enhance my skills in WEB Automations