xpath-diner icon indicating copy to clipboard operation
xpath-diner copied to clipboard

`//apple[@class="small"]` should be an accepted answer

Open ebeshero opened this issue 2 months ago • 0 comments

There is absolutely no reason why we should have to use the contains() function to filter an element based on an attribute value. But it's marked as an incorrect answer in various levels.

There are better uses of contains() or matches(), though... :-)

ebeshero avatar Oct 30 '25 00:10 ebeshero