public BrowserWorkflowPlugin() { _currentBrowserConfiguration = new BrowserConfiguration(); _sauceLabsBrowserConfiguration = new SauceLabsBrowserConfiguration(); _gridBrowserConfiguration = new GridBrowserConfiguration(); _crossBrowserTestingBrowserConfiguration = new CrossBrowserTestingBrowserConfiguration(); _browserStackBrowserConfiguration = new BrowserStackBrowserConfiguration(); _currentPlatform = DetermineOS(); }
public void GivenOpenBrowserInCrossBrowserTesting(string browser) { _crossBrowserTestingBrowserConfiguration = new CrossBrowserTestingBrowserConfiguration { BrowserType = (BrowserType)Enum.Parse(typeof(BrowserType), browser), ExecutionType = ExecutionType.CrossBrowserTesting, }; _currentBrowserConfiguration = _crossBrowserTestingBrowserConfiguration; }