text() always returns text with trailing x'0A20' (linefeed blank) even if text only contains one line (e.g. button text)
Since you do not expect this for text, that should be only some words, the trailing should be omitted.
Temp. solution: use Region.text().strip()
text() always returns text with trailing x'0A20' (linefeed blank) even if text only contains one line (e.g. button text)
Since you do not expect this for text, that should be only some words, the trailing should be omitted.
Temp. solution: text(). strip()
use Region.