dynamic seek attrs based on matching a css selector