microsoft / WinAppDriver

Windows Application Driver
MIT License
3.7k stars 1.4k forks source link

WinappDriver - Send keys as per the german keyboard layout #1916

Open akheelassadi opened 1 year ago

akheelassadi commented 1 year ago

Currently am facing an issue with sending keys to the input field as per the German keyboard layout. My application is launched in german language and when I try to send keys using selenium method (SendKeys()), the values are passed as per the english keyboard layout. Below are the things I tried which did not work out:

  1. change the system language to German and then enter the values in input field
  2. DesiredCapabilities caps = new DesiredCapabilities(); caps.setCapability("locale", "de_DE");

Does anyone has a solution to it?

anunay1 commented 1 year ago

As of now only english is supported.

aliahmadbutt4 commented 1 year ago

Hi, I hope you have found a solution till now. I would like to hear your solution as well. Here is what I am doing, I am sending alt+shift key sequence before typing any text.