this comment contained the solution - using string() instead of text() or .
string()
text()
.
Does //bdi[translate(string(), '\u00AD', '') = 'My Button'] work?
– VGR Commented Oct 21 at 14:14