On Monday, 26 January 2015 at 17:17:55 UTC, Suliman wrote:
Do you mean something like this?
I just mean to get the value of the rel="something" attribute, use element.rel; assert(element.rel == "something");The element is the thing you see in the loop and stuff. querySelectorAll returns an array of elements.