Exemplo n.º 1
0
 internal static void PressEnter(By locator)
 {
     element = WaitHelper.ElementToBeClickable(locator);
     element.SendKeys(Keys.Enter);
     ReportHelper.PassLog("Successfully Pressed Enter on: <b>" + locator);
 }
Exemplo n.º 2
0
 internal static void HoldCtrl(By locator, string key)
 {
     element = WaitHelper.ElementToBeClickable(locator);
     element.SendKeys(Keys.Control + key);
     ReportHelper.PassLog("Successfully Pressed Enter on: <b>" + locator);
 }