Answer the question
In order to leave comments, you need to log in
How to get element by part of attribute name and by value?
To get an element by part of an attribute, I use the following query: //*[@*[starts-with(name(), "data-")]]
How can I get an element both by part of the attribute name and by value? For example,data-*="123"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question