public EventResult Click()
 {
     // TODO: We need to think about this things in future, othere it will cause significant delay.
     _element.Click();
     Thread.Sleep(2500);
     return(_xPath == null
         ? (EventResult)Activator.CreateInstance(typeof(EventResult))
         : (EventResult)Activator.CreateInstance(typeof(EventResult), _xPath));
 }
 public EventResult Click()
 {
     _element.Click();
     return((EventResult)Activator.CreateInstance(typeof(EventResult), _driver));
 }
Esempio n. 3
0
 public EventResult Click()
 {
     _element.Click();
     Thread.Sleep(5000);
     return((EventResult)Activator.CreateInstance(typeof(EventResult)));
 }