public static DataProvider <string, TOwner> Content <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable) where TNavigateTo : PageObject <TNavigateTo> where TOwner : PageObject <TOwner> { return(clickable.GetControl().Content); }
public static UIComponentVerificationProvider <Control <TOwner>, TOwner> WaitTo <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable) where TNavigateTo : PageObject <TNavigateTo> where TOwner : PageObject <TOwner> { return(clickable.GetControl().WaitTo); }
public static bool IsEnabled <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable) where TNavigateTo : PageObject <TNavigateTo> where TOwner : PageObject <TOwner> { return(clickable.GetControl().IsEnabled.Value); }
public static bool Missing <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable, SearchOptions options = null) where TNavigateTo : PageObject <TNavigateTo> where TOwner : PageObject <TOwner> { return(clickable.GetControl().Missing(options)); }
public static Clickable <TNavigateTo, TOwner> GetControl <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable) where TNavigateTo : PageObject <TNavigateTo> where TOwner : PageObject <TOwner> { return((Clickable <TNavigateTo, TOwner>)UIComponentResolver.GetControlByDelegate <TOwner>(clickable)); }
public static TOwner ScrollTo <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickable) where TNavigateTo : PageObject <TNavigateTo> where TOwner : PageObject <TOwner> { return(clickable.GetControl().ScrollTo()); }
public static UIComponentVerificationProvider <Control <TOwner>, TOwner> Should <TOwner>(this ClickableDelegate <TOwner> clickable) where TOwner : PageObject <TOwner> { return(clickable.GetControl().Should); }
public static bool Exists <TOwner>(this ClickableDelegate <TOwner> clickable, SearchOptions options = null) where TOwner : PageObject <TOwner> { return(clickable.GetControl().Exists(options)); }
public static TOwner RightClick <TOwner>(this ClickableDelegate <TOwner> clickable) where TOwner : PageObject <TOwner> { return(clickable.GetControl().RightClick()); }
public static TOwner Focus <TOwner>(this ClickableDelegate <TOwner> clickable) where TOwner : PageObject <TOwner> { return(clickable.GetControl().Focus()); }
public static TNavigateTo ClickAndGo <TNavigateTo, TOwner>(this ClickableDelegate <TNavigateTo, TOwner> clickableDelegate) where TNavigateTo : PageObject <TNavigateTo> where TOwner : PageObject <TOwner> { return(clickableDelegate.GetControl().ClickAndGo()); }