FireRobot icon indicating copy to clipboard operation
FireRobot copied to clipboard

Problem with &nbsp in link text

Open joao-carloto opened this issue 10 years ago • 0 comments

Element.textContent will replace &nbsp with \u0020 instead of \u00A0. This is an old bug on Firefox described here: https://bugzilla.mozilla.org/show_bug.cgi?id=359303. A test step of type "Page Should Contain Link " will always fail if we have &nbsp inside the link text. The problem was "solved" in text verifications (Page Should Contain) by splitting the verification into several steps. The same strategy won't work with "Page Should Contain Link ".

Not sure how to solve this without a fix by Mozilla.

joao-carloto avatar Oct 28 '14 17:10 joao-carloto