Selenium Parallel testing with extension methods
问题 I have configured tests to run in parallel in Selenium with Nunit which works fine but I'm not sure how to add a custom method into the mix without a second instance of the browser opening and breaking the test. I have the Base: namespace ParallelTests { public class Base { public IWebDriver Driver { get; set; } } } ...and the Hooks: public class Hooks : Base { public Hooks() { Driver = new ChromeDriver(@"D:\Data\user\Documents\Visual Studio 2012\Projects\ParallelTests\ParallelTests\bin"); }