internal static void RemovePendingConfiguration(DriverSetupConfigurationBuilder configurationBuilder)
 {
     lock (s_pendingConfigurationsSyncLock)
     {
         PendingConfigurations.Remove(configurationBuilder);
     }
 }
        private static DriverSetupConfigurationBuilder Configure(
            string browserName,
            Func <IHttpRequestExecutor, IDriverSetupStrategy> driverSetupStrategyFactory,
            DriverSetupOptions driverSetupOptions)
        {
            var builder = new DriverSetupConfigurationBuilder(
                browserName,
                driverSetupStrategyFactory,
                CreateConfiguration(browserName, driverSetupOptions));

            lock (s_pendingConfigurationsSyncLock)
            {
                PendingConfigurations.Add(builder);
            }

            return(builder);
        }