Hi guys I have the issue as a question that was answered called: How do I select only visible elements using XPath?
The response was: //div[not(contains(@style,'display:none'))]//button[.='OK']
.
My question is how do I adapt the above for aria-hidden='true'
, I'm trying to find elements that are only aria-hidden='false'
?
I do apologize if my approach is messy, I'm kinda new to asking questions on here
Thanks