title: Multiple Browsers Tests using Webinator+Selenium, SpecFlow and NUnit
body: <p>I'm developing an ASP.NET MVC 3 app with WebinatorSpecFlow+NUnit using the Selenium driver. I'm having a problem running parallel tests with Chrome (using chromedriver) and Internet Explorer.</p>
  
  <p>Whenever I have both tests running in the same session and in parallel by Selenium via Webinator, IE seems to hang when I send any click action to the page.</p>
  
  <p>I'm not able to use the solution suggested <a href="https://stackoverflow.com/a/7854838/1464825">here</a>, since SpecFlow generates the underlying C# code automatically. My solution is designed like <a href="https://gist.github.com/3100313" rel="nofollow noreferrer">this</a> (the full code is available as a gist):</p>
  
  <pre><code>_multipleBrowsers.RunTest(web =&gt; web.GoToUrl("http://localhost/PROJECT/Authentication/Registration"));
  </code></pre>
  
  <p>What happens is that I instantiate a new IWebManager for every browser I need to test. Then, I call the delegate action, using the browser instance. It goes like this:</p>
  
  <pre><code>        foreach (var web in _webManagers)
          {
              Debug.WriteLine("Running test with " + web.Config.Browser);
  
              action(web);
          }
  </code></pre>
  
  <p>This way the tests run almost in parallel. It pops up a browser, execute the action, then the other browser, and so forth.</p>
  
  <p>Any thoughts on how to overcome this ChromeDriver issue? Should I change my testing approach with SpecFlow for multiple browsers?</p>
  
  <hr>
  
  <p>References:</p>
  
  <ul>
  <li><a href="http://webinator.codeplex.com/" rel="nofollow noreferrer">Webinator</a></li>
  <li><a href="http://specflow.org/" rel="nofollow noreferrer">specflow</a></li>
  <li><a href="http://nunit.org/" rel="nofollow noreferrer">nunit</a></li>
  <li><a href="http://code.google.com/p/selenium/wiki/ChromeDriver" rel="nofollow noreferrer">ChromeDriver</a></li>
  </ul>