I tried to use ends-with in Html Agility Pack in the following mode: //span[ends-with(@id, 'Label2')] and //span[ends-with(., 'test')] , but it does not work.
All other functions, like starts-with and contains work well.
Can anyone help me?
There can be found a hack!
It is something like this:
//span[‘Label2’=substring(@id, string-length(@id)-string-length(‘_Label2’)+1)]