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