示例#1
0
        public void PresssKeyOnElementWith(KeyboardActionType keyName, SelectorPathType selector, string path)
        {
            var elementBy = WebElementUtils.GetElementAsBy(selector, path);
            var element   = _driver.FindElement(elementBy);

            KeyboardUtils.EnterKeyToWebElement(element, keyName);
        }