public void InputValueToElementWithoutCleanElementText(string cssSelector, string value, string tag)
        {
            var cleanValue = CommonController.TranslateValueByInputValue(value.Trim());

            _log.Info("Input value: " + cleanValue + " to element: " + cssSelector);
            var element = GetElementObject(cssSelector, tag);

            WebMouseController.MouseOverToElementAndClick(element);
            WebBrowserController.SendKey(element, cleanValue);
        }
        public void InputValueToElement(string cssSelector, string value, string tag)
        {
            var cleanValue = CommonController.TranslateValueByInputValue(value.Trim());

            _log.Info("Input value: " + cleanValue + " to element: " + cssSelector);
            var element = GetElementObject(cssSelector, tag);
            ////This function is mean one step, so on some page will fail.
            var cleanElement = CleanOriginTextInsideElement(element);

            WebBrowserController.SendKey(cleanElement, cleanValue);
            ////SelectAll
            //element.SendKeys(Keys.Control + 'a');
            //WebBrowserController.SendKeyEveryFiveHundredMilliseconds(element, cleanValue);
        }