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