if the second to last element and the last element is the same how do i just get the last element python code example
Example: get all the child of the same class javascript
var doc = document.getElementById("test");
var notes = null;
for (var i = 0; i < doc.childNodes.length; i++) {
if (doc.childNodes[i].className == "4") {
notes = doc.childNodes[i];
break;
}
}