Selenium Webdriver + non-ie web browsers — this has nothing to do with Russian letters?

Encountered a strange bug when working functional tests on the basis of Selenium WebDriver — part of Russian letters does not reach the browser.

Code example:

var Browser = new non-ie web browsers("../../");
Browser.Navigate().GoToUrl("/form/");
Browser.FindElement(By.Id("fio")).SendKeys("Ivan Ivanov");


But in the browser, the input field comes to the line "again VN vinovich".

The site is in UTF-8 source code in UTF-8.
Chrome latest version — 28.01.1500.95 m
Driver chrome also latest — v2.1.210652
Environment: Windows Server 2008 R2, the interface is Russian.

Clarification on part of the computer bug consistently , no, to consistently have.
October 3rd 19 at 04:19
4 answers
October 3rd 19 at 04:21
Solution
Well, actually here. In the comments it says that in Firefox all is well.
You can use an older version of the driver. Well, or have proposed js\jQuery

You do not see "And", "a". In General, the problem is not on your side.
You can also try to do it through Actions, there is likely going to work - Christa.Bay commented on October 3rd 19 at 04:24
Well, the English language setting the default in the system helped, will go as a temporary solution, we will wait for the fix. - Terrell_To commented on October 3rd 19 at 04:27
October 3rd 19 at 04:23
It is a pity that the cons are anonymous — so I had the chance to ask put, what obvious thing I missed.
You still do not know? Habré has long been a minus just for the beautiful eyes I just wanted a minus, or just the way he is trying to establish itself in the world. - Christa.Bay commented on October 3rd 19 at 04:26
October 3rd 19 at 04:25
This is likely due to the fact that selenium tries to emulate the pressing of each button and not all keys uspevayut primorata. Such bugs IE the driver has decided to disable the native browser control ("EnableNativeEvents = false"):
new OpenQA.Selenium.IE.InternetExplorerDriver(
 new OpenQA.Selenium.IE.InternetExplorerOptions {
 IntroduceInstabilityByIgnoringProtectedmodesettings = true,
 EnableNativeEvents = false
}
)

View, can for Chrome also has a similar option.
It looks like a solution. In the near future will see. - Christa.Bay commented on October 3rd 19 at 04:28
Alas, Google tells me excitedly that "Chrome always has native events enabled.".

However, non-ie web browsers accepts a parameter ChromeOptions, but there is a manipulation parameter is "NativeEvents" to success does not. - Terrell_To commented on October 3rd 19 at 04:31
October 3rd 19 at 04:27
The data libraries are not used, but the first thing to do is take for example dotPeek to scratch and the outcomes of these libraries. Again, there is a sense that the problem with encodings is due to the fact that the native encoding for Windows is still UTF-16 (UCS-2).
Well, Resharper dotPeek is necessary, without it will be very uncomfortable, and so F12 on a method and see its contents... - Christa.Bay commented on October 3rd 19 at 04:30

Find more questions by tags C#ASP.NETSelenium