public static ActionResult TryNavigateToTab(this ITabNavigation self, string tabId, string tabLoadedElementId) { try { //Driver is a static singelton Driver.FindElement(tabId).Click(); Driver.WaitUntilPresent(tabLoadedElementId); // TODO: return something } catch (Exception ex) { return(new FailureActionResult(ex.Message)); } }
/// <summary>Static getter for Internal Redirect</summary> public static IPublishedContent GetUmbracoInternalRedirectId(ITabNavigation that) { return(that.GetPropertyValue <IPublishedContent>("umbracoInternalRedirectId")); }
/// <summary>Static getter for Hide In XML Sitemap</summary> public static bool GetHideInXmlsitemap(ITabNavigation that) { return(that.GetPropertyValue <bool>("hideInXMLSitemap")); }