WebDriver returning NBSP

Issue #11139269 • Assigned to Steven K.

Details

Author
Zach M.
Created
Mar 2, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

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.

https://jsfiddle.net/5yk3ejtx/

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in