KarateUI Wildcard Locators doesn't match special characters (ä, ü, ö)

Viewed 111

Im trying to find an html element with the exact text:

Then assert exists('{a}Enddatum: Bitte geben Sie ein gültiges Enddatum für das Koordinierungsverfahren im Format tt.mm.jjjj an.').exists

THe HTML-Element im looking for looks like this:

<a href="#label_Serviceverfahren_vermittlungsprozesse_0__endzeitpunktDatum">Enddatum: Bitte geben Sie ein gültiges Enddatum für das Koordinierungsverfahren im Format tt.mm.jjjj an.</a>

The assertion fails, i think the ecnoding is the problem, because the 'ü' turns into a '³':

ERROR com.intuit.karate - assertion failed: assert evaluated to false: exists('{a}Enddatum: Bitte geben Sie ein g³ltiges Enddatum f³r das Koordinierungsverfahren im Format tt.mm.jjjj an.').exists

I tried to escape the 'ü' in different Ways, but till now i had no luck.

1 Answers
Related