Running WebDrivers in Parallel

added by tdupont
9/4/2012 9:05:01 AM

6 Kicks, 238 Views

A WebDriver is not thread safe, but it is not required to be a singleton either. If you instantiate multiple drivers, they can all be run at the same time. If you cast a series of drivers into a collection of the IWebDriver interface, and then throw that into a Parallel ForEach, you have yourself one fun toy to play with!