public EdgeOptions ToEdgeOptions(EdgeBrowserSettings settings) { var result = new EdgeOptions(); result.UseInPrivateBrowsing = settings.Options.UseInPrivateBrowsing; return(result); }
public EdgeOptions ToEdgeOptions(EdgeBrowserSettings settings) { var result = new EdgeOptions(); if (settings.Options.UseInPrivateBrowsing) { result.AddArgument("inprivate"); } return(result); }