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)); }
public EventResult Click() { _element.Click(); Thread.Sleep(5000); return((EventResult)Activator.CreateInstance(typeof(EventResult))); }