Handle element freshness when satisfying HTML paths
Generate class attribute when satisfying HTML path