Answer the question
In order to leave comments, you need to log in
Python 2.7.9, webbrowser: part of Cyrillic letters disappears in input. What could be the problem?
I am automating a form (python 2.7.9, webbrowser, Chrome). On the site, the encoding is cp1251.
The task is to type Cyrillic text in input.
The problem is that the letters u, o, p, p, s, t, y, f, x, c, h, sh u, b, s disappear from the text.
text = "Текст в поле"
obj_name_ru = browser.find_element_by_id("obj_name_ru")
obj_name_ru.send_keys(text)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question