use css selectors to create a NodeSet. iterate over the NodeSet to find a match