Example #1
0
 public static AppInitializer GetInstance(Platform platform) => _currentInstance ?? (_currentInstance = new AppInitializer(platform));
Example #2
0
 public static void CloseApp()
 {
     _currentInstance = null;
     _app             = null;
 }
Example #3
0
 public static bool IsElementWithTextPresent(string elementText)
 {
     return(AppInitializer.GetApp().Query(c => c.Text(elementText))[0].Enabled);
 }