Steps to reproduce
When returning text from an element, if the text contains an nbsp character, WebDriver returns the text with the included nbsp character (\u00a0) instead of converting it to a regular space character (\u0020). Other drivers (Chrome, FF, IE 10+11) return the text with the nbsp characters converted to regular spaces. I have had to code in some text replacement routines to combat this issue until it is fixed.
Here is a fiddle with a table that contains 1 row and 2 columns. If you try to return the text from the second column (with id = HelloWorld), the nbsp will be returned instead of a normal space.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Steven K.”