The task says: "Select the small apple and the big orange"
Correct solution should be like this: //apple[contains(@class,'small')] | //orange[not(contains(@class,'small'))]
But it's not accepted.
The only accepted solution is: //plate/*[last()]
It's accepted because it corresponds to the tips but doesn't match the requirements.
Change the task "Select the last items on all the plates"
Or change the solution to accept this: //apple[contains(@class,'small')] | //orange[not(contains(@class,'small'))]
The task says: "Select the small apple and the big orange" Correct solution should be like this: //apple[contains(@class,'small')] | //orange[not(contains(@class,'small'))] But it's not accepted.
The only accepted solution is: //plate/*[last()] It's accepted because it corresponds to the tips but doesn't match the requirements.
Change the task "Select the last items on all the plates" Or change the solution to accept this: //apple[contains(@class,'small')] | //orange[not(contains(@class,'small'))]