Пример #1
0
 public void PressKey(string keyToPress)
 {
     try
     {
         keyboard.PressKey(keyToPress);
     }
     catch (Zu.WebBrowser.BasicTypes.WebBrowserException webDriverException)
     {
         throw WebDriverConverters.ToSeleniumException(webDriverException);
     }
     catch { throw; }
 }
Пример #2
0
 public void PressKey(string keyToPress)
 {
     keyboard.PressKey(keyToPress);
 }