public void startBrowser()
        {
            // Create a version of applicationhost.config in a temporary file with the physicalPath set to the correct folder
            // and use it when starting IIS Express
            string sAppHostConfigFile = Path.GetTempFileName();

            System.IO.File.Copy(AppContext.BaseDirectory + @"..\..\applicationhost-test.config", sAppHostConfigFile, true);
            String sPhysicalPath          = new DirectoryInfo(AppContext.BaseDirectory).Parent.FullName;
            string txtOfAppHostConfigFile = File.ReadAllText(sAppHostConfigFile);

            txtOfAppHostConfigFile = txtOfAppHostConfigFile.Replace("XXX-physicalPath-XXX", sPhysicalPath);
            File.WriteAllText(sAppHostConfigFile, txtOfAppHostConfigFile);

            // Start IIS Express and Chromedriver
            driver = new ChromeDriver(Path.Combine(path, "..\\..\\"));
            driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(1);
            js   = (IJavaScriptExecutor)driver;
            iis1 = IISExpress.Start(
                sAppHostConfigFile,
                @"TennisPlayersApplication2",
                @"Clr4IntegratedAppPool");
        }
        public static IISExpress Start(string config, string site, string apppool)
        {
            IISExpress iis = new IISExpress(config, site, apppool);

            return(iis);
        }