Answer the question
In order to leave comments, you need to log in
Selenium Webdriver + ChromeDriver - bugs in working with Russian letters?
We encountered a strange bug when running functional tests based on Selenium WebDriver - some Russian letters do not reach the browser.
Code example:
var Browser = new ChromeDriver("../../");
Browser.Navigate().GoToUrl("/form/");
Browser.FindElement(By.Id("fio")).SendKeys("Иванов Иван Иванович");
Answer the question
In order to leave comments, you need to log in
Well actually here. The comments say that everything is fine in Firefox.
You can use an older version of the driver. Well, or already proposed js \ jQuery
You do not see "And", "a". In general, the problem is not on your side.
It is a pity that the minuses are anonymous - so there would be an opportunity to ask the person who set what I missed for the obvious thing.
This is most likely due to the fact that selenium tries to emulate pressing each button and not all keys are able to premise. I solved similar glitches in the IE driver by disabling native browser control (“EnableNativeEvents = false”):
new OpenQA.Selenium.IE.InternetExplorerDriver(
new OpenQA.Selenium.IE.InternetExplorerOptions {
IntroduceInstabilityByIgnoringProtectedModeSettings = true,
EnableNativeEvents = false
}
)
I didn’t use these libraries myself, but the first thing to do is to take dotPeek for example and dig into the outcomes of these libraries. Again, there is a feeling that the jamb with encodings is related to the fact that the native encoding for Windows is still UTF-16 (UCS-2).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question