Can you please tell me if there is any DOM API which search for an element with given attribute name and attribute value:

Something like:

doc.findElementByAttribute("myAttribute", "aValue");

10 Answers
10

Leave a Reply

Your email address will not be published. Required fields are marked *