Inheritance: SelfCleanUpWebDriver
Beispiel #1
0
 public IWebDriver CreateNewInstance()
 {
     if (Driver == null)
     {
         lock (Locker)
         {
             if (Driver == null)
             {
                 Driver = new FirefoxFastModeDriver();
             }
         }
     }
     return(Driver.Driver);
 }
 public IWebDriver CreateNewInstance()
 {
     if (Driver == null)
     {
         lock (Locker)
         {
             if (Driver == null)
             {
                 Driver = new FirefoxFastModeDriver();
             }
         }
     }
     return Driver.Driver;
 }