Skip to content

Commit 5e16983

Browse files
committed
Another small fix
1 parent 50e5c52 commit 5e16983

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/Shared/BrowserTesting/src/BrowserManagerConfiguration.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,17 +207,15 @@ string EnsureFolderExists(string folderPath)
207207
IgnoreAllDefaultArgs = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.IgnoreAllDefaultArgs)),
208208
SlowMo = configuration.GetValue<int?>(nameof(BrowserTypeLaunchOptions.SlowMo)),
209209
Env = configuration.GetValue<Dictionary<string, string>>(nameof(BrowserTypeLaunchOptions.Env)),
210-
DumpIO = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.DumpIO)),
211-
IgnoreHTTPSErrors = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.IgnoreHTTPSErrors)),
212210
DownloadsPath = configuration.GetValue<string>(nameof(BrowserTypeLaunchOptions.DownloadsPath)),
213211
ExecutablePath = configuration.GetValue<string>(nameof(BrowserTypeLaunchOptions.ExecutablePath)),
214212
Devtools = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.Devtools)),
215213
Args = BindMultiValueMap(
216-
configuration.GetSection(nameof(BrowserTypeLaunchOptions.Args)),
217-
argsMap => argsMap.SelectMany(argNameValue => argNameValue.Value.Prepend(argNameValue.Key)).ToArray()),
214+
configuration.GetSection(nameof(BrowserTypeLaunchOptions.Args)),
215+
argsMap => argsMap.SelectMany(argNameValue => argNameValue.Value.Prepend(argNameValue.Key)).ToArray()),
218216
Headless = configuration.GetValue<bool?>(nameof(BrowserTypeLaunchOptions.Headless)),
219217
Timeout = configuration.GetValue<int?>(nameof(BrowserTypeLaunchOptions.Timeout)),
220-
Proxy = configuration.GetValue<ProxySettings>(nameof(BrowserTypeLaunchOptions.Proxy))
218+
Proxy = configuration.GetValue<Proxy>(nameof(BrowserTypeLaunchOptions.Proxy))
221219
};
222220

223221
private T BindMultiValueMap<T>(IConfigurationSection processArgsMap, Func<Dictionary<string, HashSet<string>>, T> mapper)

0 commit comments

Comments
 (0)