Example #1
0
 public bool IsDisplayed()
 {
     return(TestFramework.FindWebElement(this).Displayed);
 }
Example #2
0
        public void WaitLoad()
        {
            var element = TestFramework.FindWebElement(this);

            wait.Until(d => element.Displayed);
        }
Example #3
0
 public string GetText()
 {
     return(TestFramework.FindWebElement(this).Text);
 }
Example #4
0
 public bool IsEnabled()
 {
     return(TestFramework.FindWebElement(this).Enabled);
 }
Example #5
0
 public ICollection <IWebElement> GetItems(By value)
 {
     return(TestFramework.FindWebElement(this).FindElements(value));
 }
Example #6
0
 public IWebElement GetParent()
 {
     return(TestFramework.FindWebElement(this).FindElement(By.XPath("..")));
 }
Example #7
0
 public string GetValue(string attrName)
 {
     return(TestFramework.FindWebElement(this).GetAttribute(attrName));
 }
Example #8
0
        public void SetValue(string value)
        {
            var element = TestFramework.FindWebElement(this);

            element.SendKeys(value);
        }
Example #9
0
 public void Click()
 {
     TestFramework.FindWebElement(this).Click();
 }