Gehad Gamal
Gehad Gamal

Reputation: 101

Selenium Webdriver java with ( . ) getting replaced

I am building an application where i am using selenium, and now i am doing testing.

The program works well but there is a problem with Computers with Hebrew Language installed.

for example on :

sendKeys("[email protected]");

the "." gets replaced with a Hebrew letter "ץ" which is the same place of the "." on the keyboard.

Did someone face this problem before ?

Upvotes: 2

Views: 121

Answers (2)

MLiberman
MLiberman

Reputation: 21

I had the same and was only resolved when Hebrew keyboard layout was removed. See https://bugs.chromium.org/p/chromedriver/issues/detail?id=2762 I couldn't change mine to Querty as my keyboard is UK and not US

Upvotes: 0

Mikhail
Mikhail

Reputation: 665

Well, tbh this is the first time I'm seeing smthn like that, I would strongly recommend to check your system or IDE settings first, also you may try smthn like this:

sendKeys(new String("[email protected]".getBytes(), "UTF-8"))

Upvotes: 1

Related Questions