Exemplo n.º 1
0
        public EdgeOptions ToEdgeOptions(EdgeBrowserSettings settings)
        {
            var result = new EdgeOptions();

            result.UseInPrivateBrowsing = settings.Options.UseInPrivateBrowsing;
            return(result);
        }
Exemplo n.º 2
0
        public EdgeOptions ToEdgeOptions(EdgeBrowserSettings settings)
        {
            var result = new EdgeOptions();

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