I have the 2 Xpath below that don't have Id nor class. I want to find the element with "id=RTY_183" or "id=RTY_189".
//*[@id='RTY_183']
//*[@id='RTY_189']
I've tried regex
and or
but don't work, like this:
with OR
document.evaluate("//*[@id='RTY_183' or @id='RTY_189' ]", document.body, null, 9, null).singleNodeValue.click();
and with regex
document.evaluate("//*[@id='RTY_18[3,9]']", document.body, null, 9, null).singleNodeValue.click();
Is possible? what I'm doing wrong?
Thanks for any help