Пример #1
0
 public static SinglePage <TWebDriver> GetInstance()
 {
     if (_instance == null)
     {
         _instance = new SinglePage <TWebDriver>();
     }
     return(_instance);
 }
Пример #2
0
 public static SinglePage <TWebDriver> NewInstance()
 {
     _instance = new SinglePage <TWebDriver>();
     return(_instance);
 }