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