/// <summary> /// Gets the instance of T, which is an Object repository class (page definition). /// </summary> /// <typeparam name="T">Object repository class</typeparam> /// <returns>instance of T</returns> public static T GetBrowserWindow <T>() { return(ObjectRepositoryManager.GetInstance <T>()); }
/// <summary> /// Gets the instance of T, which is an Object repository class (page definition). /// </summary> /// <typeparam name="T">Object repository class</typeparam> /// <returns>instance of T</returns> public static T GetBrowserWindow <T>(string title = null) where T : BrowserWindowUnderTest { return(ObjectRepositoryManager.GetInstance <T>(title)); }
/// <summary> /// Gets the instance of T, which is an Object repository class (page definition). /// </summary> /// <typeparam name="T">Object repository class</typeparam> /// <returns>instance of T</returns> public static T GetPage <T>(string title) { return((T)(object)ObjectRepositoryManager.GetInstance <T>(new object[] { title })); }
/// <summary> /// Gets the instance of T, which is an Object repository class (page definition). /// </summary> /// <typeparam name="T">Object repository class</typeparam> /// <returns>instance of T</returns> public static T GetBrowserWindow <T>(string title) { return(ObjectRepositoryManager.GetInstance <T>(title)); }
/// <summary> /// Gets the instance of T, which is an Object repository class (page definition). /// </summary> /// <typeparam name="T">Object repository class</typeparam> /// <returns>instance of T</returns> public static T GetPage <T>() { return((T)(object)ObjectRepositoryManager.GetInstance <T>()); }