Example #1
0
        public static void SetText(this By element, string text)
        {
            ElementWaiter wait = new ElementWaiter();
            var           interactableElement = wait.WaitUntillReady(element);

            interactableElement.Clear();
            interactableElement.SendKeys(text);
        }
Example #2
0
        public static string InnerText(this By element)
        {
            ElementWaiter wait = new ElementWaiter();

            return(wait.WaitUntillReady(element).GetAttribute("innerText"));
        }
Example #3
0
        public static void Click(this By element)
        {
            ElementWaiter wait = new ElementWaiter();

            wait.WaitToBeClickable(element).Click();
        }
Example #4
0
 public BasePage()
 {
     Wait = new ElementWaiter();
 }