SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

"@" sign in a string is being changed to the number 2 #5120

Open lukeis opened 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 5120

Windows 7 Professional, 64-bit, Firefox 18.0.1, IE 8
Selenium WebDriver 2.29

I have a string variable that represents a user's email address to sign in to Facebook
with.  When the script enters the string into the field, the "@" gets changed into
the number 2. So, if the email string was user@company.com, it's being entered (using
.sendKeys) as user2company.com.

100% reproducible for FF and IE.  
Does not happen with Google Chrome on the same OS.
Checks of the variable just before executing the step show the correct "@" value in
the string.
Same code with the same OS+browsers, using WebDriver 2.28 works correctly.

Reported by brianl.valassis on 2013-02-01 22:03:36

lukeis commented 8 years ago

Reported by barancev on 2013-02-02 19:54:26

lukeis commented 8 years ago
What are your keyboard settings?

Reported by arran.huxtable on 2013-02-04 16:57:52

lukeis commented 8 years ago
I haven't changed the keyboard or language settings at all, so they're the standard
setting for Windows English+US Keyboard... 

Reported by brianl.valassis on 2013-02-12 14:24:31

lukeis commented 8 years ago
I can confirm this issue for IE11 - does not happen in Google Chrome. German keyboard
binding, however, have tested with English key codes as well. See my SOF thread here
http://stackoverflow.com/questions/25358921/unable-to-send-at-sign-or-curly-braces-using-c-sharp-and-selenium
for more information and a "dirty fix".

Reported by dominik.rauch.com on 2014-08-18 12:08:19

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 17:45:11