public static void OnDemand() { if (UserChecker.ItIsMe()) { OnceOnlyWriter.WriteLine(SauceOpsConstants.ON_DEMAND, Enviro.SauceOnDemandBrowsers); } }
//public static void PrintPlatformDetails(PlatformTestData platform) { // if (UserChecker.ItIsMe()) // { // Console.WriteLine("DEBUG MESSAGE START"); // Console.WriteLine(@"SELENIUM_OS=" + platform.Os); // Console.WriteLine(@"SELENIUM_BROWSER=" + platform.BrowserName); // Console.WriteLine(@"SELENIUM_VERSION=" + platform.BrowserVersion); // Console.WriteLine(@"SELENIUM_LONG_VERSION=" + platform.LongVersion); // Console.WriteLine(@"SELENIUM_DEVICE_TYPE=" + platform.DeviceType); // Console.WriteLine(@"SELENIUM_DEVICE=" + platform.Device); // Console.WriteLine("DEBUG MESSAGE END"); // } //} public static void ExtractJsonSegment(string json, int startIndex, int endIndex) { if (UserChecker.ItIsMe()) { Console.WriteLine("DEBUG MESSAGE: ExtractJsonSegment params {0} {1} {2}", json, startIndex, endIndex); Console.Out.Flush(); } }
internal static void PrintHaveApplePlatform() { if (UserChecker.ItIsMe()) { Console.WriteLine("DEBUG MESSAGE: We have an Apple platform"); Console.Out.Flush(); } }
public static void PrintDesktopOptionValues(SaucePlatform platform) { if (UserChecker.ItIsMe()) { Console.WriteLine("Desktop platform.Browser: {0}", platform.Browser); Console.WriteLine("Desktop platform.Os: {0}", platform.Os); Console.WriteLine("Desktop platform.BrowserVersion: {0}", platform.BrowserVersion); } }