Exemple #1
0
 /// <summary>
 /// Returns an array of argument based on the options provided and the platform where the library is running
 /// </summary>
 /// <returns>Chromium arguments.</returns>
 /// <param name="options">Options.</param>
 public static string[] GetDefaultArgs(LaunchOptions options = null)
 => ChromiumLauncher.GetDefaultArgs(options ?? new LaunchOptions());
Exemple #2
0
 /// <summary>
 /// Returns an array of argument based on the options provided and the platform where the library is running
 /// </summary>
 /// <returns>Chromium arguments.</returns>
 /// <param name="options">Options.</param>
 public static string[] GetDefaultArgs(LaunchOptions options = null)
 => (options?.Product ?? Product.Chrome) == Product.Chrome
         ? ChromiumLauncher.GetDefaultArgs(options ?? new LaunchOptions())
         : FirefoxLauncher.GetDefaultArgs(options ?? new LaunchOptions());