示例#1
0
        public EdgeOptions ToEdgeOptions(EdgeBrowserSettings settings)
        {
            var result = new EdgeOptions();

            result.UseInPrivateBrowsing = settings.Options.UseInPrivateBrowsing;
            return(result);
        }
示例#2
0
        public EdgeOptions ToEdgeOptions(EdgeBrowserSettings settings)
        {
            var result = new EdgeOptions();

            if (settings.Options.UseInPrivateBrowsing)
            {
                result.AddArgument("inprivate");
            }
            return(result);
        }