I would like to find the Xpath, where the Text contains two names. I want my xpath to identify any one of the conditions below.
e.g
//div[text()='USER NAME' OR text()='USER ID']
or
//div[text()='USER NAME' | text()='USER ID']
Can i use like above, Actually both are not working. Please help me with identification.