Esempio n. 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);
        }
Esempio n. 2
0
        public static string InnerText(this By element)
        {
            ElementWaiter wait = new ElementWaiter();

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

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