Reputation: 189
When I am trying to invoke :
element.send_keys("Hello World")
It prints the second word in the new line and even when if I am using Unicode as:
element.send_keys(u"Hello\ue00dWorld")
Anyhow it prints in a new line.
What can I do to make it work as expected?
I am using python selenium webdriver version is 3.11.0.
Thank you.
Upvotes: 1
Views: 419
Reputation: 76
I suppose you use VNC at your server. At least I got the same situation with Ubuntu 18.04, Selenium 3.141.59, ChromeDriver 87.0.4280.20 and TigerVNC 1.3.10.
Unfortunately, it's a bug of Chromedriver.
https://monorail-prod.appspot.com/p/chromedriver/issues/detail?id=1300
But it was archived without a fix in 2017.
I'd recommend do not to use VNC and try Xvfb instead.
Upvotes: 1