private PagesFactory CreatePages() { PagesFactory factory = new PagesFactory(); factory.InitializePages(new IPagePrototype[] { new GoogleMainPage(_webDriver), new GoogleSearchResultPage(_webDriver), new SpecflowMainPage(_webDriver) }); return(factory); }
public PageNavigator(TalkDataContainerScriptable dataContainer, TalkDataContainerScriptable.PageNavigatorState pageState) { _dataContainer = dataContainer.Container; _pageNavigatorState = pageState; _pages = new PagesFactory(this, dataContainer); _navigatedPages = new List <IPage>(); _navigationButtons = new GUIStyle(EditorStyles.label); _navigationButtons.margin.left = 0; _navigationButtons.margin.right = 0; _navigationButtons.font = GUI.skin.font; _navigationButtons.fontStyle = FontStyle.Bold; _path = new StringBuilder(); _pathLabel = new GUIStyle(EditorStyles.toolbarButton); _pathLabel.alignment = TextAnchor.MiddleLeft; _pathLabel.richText = true; _pathLabel.fontSize = 11; LoadPageState(); }
public void SetUp() { PageFactory = new PagesFactory(); }
public void finish() { PagesFactory.closeWebClient(); }
public void start() { PagesFactory.initialization(); }