Пример #1
0
        public T GoTo <T>() where T : PageObjectBase
        {
            var key = typeof(T).FullName;

            _driver.Url = _dicMap[key];
            return(CraftsmanFactory.CreatePageObject <T>(_driver));
        }
Пример #2
0
 public T Select <T>(string mainMenu, string subMenu) where T : PageObjectBase
 {
     Select(mainMenu, subMenu);
     return(CraftsmanFactory.CreatePageObject <T>(this._driver));
 }
Пример #3
0
 public T Build <T>() where T : PageObjectBase
 {
     return(CraftsmanFactory.CreatePageObject <T>(_driver));
 }