title: system.collection.generic.keyNotFoundException
body: <p>I am getting System.Collections.Generic.KeyNotFoundException while trying to open a Browser. Can any one please look into this issue. Please find the below files,</p>
  
  <p>App.Config</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;configuration&gt;
    &lt;configSections&gt;
      &lt;section name="specFlow" type="TechTalk.SpecFlow.Configuration.ConfigurationSectionHandler, TechTalk.SpecFlow" /&gt;
      &lt;section name="autofac" type="Autofac.Configuration.SectionHandler, Autofac.Configuration" /&gt;
    &lt;/configSections&gt;
  
  &lt;appSettings&gt;
      &lt;add key="seleniumBaseUrl" value="http://www.verivox.de/" /&gt;
  &lt;/appSettings&gt;
  
    &lt;runtime&gt;
      &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
        &lt;dependentAssembly&gt;
          &lt;assemblyIdentity name="TechTalk.SpecFlow" publicKeyToken="0778194805d6db41" culture="neutral" /&gt;
          &lt;assemblyIdentity name="TechTalk.SpecFlow" publicKeyToken="0778194805d6db41" culture="neutral" /&gt;
          &lt;bindingRedirect oldVersion="0.0.0.0-2.1.0.0" newVersion="1.9.0.77" /&gt;
        &lt;/dependentAssembly&gt;
      &lt;/assemblyBinding&gt;
    &lt;/runtime&gt;
    &lt;autofac&gt;
      &lt;components&gt;
        &lt;component name="IE" type="OpenQA.Selenium.IE.InternetExplorerDriver, WebDriver" service="OpenQA.Selenium.IWebDriver, WebDriver" instance-scope="per-dependency"&gt;
        &lt;/component&gt;
        &lt;component name="Chrome" type="OpenQA.Selenium.Chrome.ChromeDriver, WebDriver" service="OpenQA.Selenium.IWebDriver, WebDriver" instance-scope="per-dependency"&gt;
        &lt;/component&gt;
        &lt;component name="Firefox" type="OpenQA.Selenium.Firefox.FirefoxDriver, WebDriver" service="OpenQA.Selenium.IWebDriver, WebDriver" instance-scope="per-dependency"&gt;
        &lt;/component&gt;
        &lt;!-- Example of using an injected RemoteDriver:
        &lt;component
                name="IE"
                type="Baseclass.Contrib.SpecFlow.Selenium.NUnit.RemoteWebDriver, Baseclass.Contrib.SpecFlow.Selenium.NUnit.SpecFlowPlugin"
                service="OpenQA.Selenium.IWebDriver, WebDriver"
                instance-scope="per-dependency"&gt;
          &lt;parameters&gt;
            &lt;parameter name="url" value="http://127.0.0.1:4444/wd/hub" /&gt;
            &lt;parameter name="browser" value="InternetExplorer"&gt;
            &lt;/parameter&gt;
          &lt;/parameters&gt;
        &lt;/component&gt;--&gt;
      &lt;/components&gt;
    &lt;/autofac&gt;&lt;/configuration&gt;
  </code></pre>
  
  <p>My Feature File,</p>
  
  <pre><code>Feature: CalculatorVerification
      Feature to test all the calculator functionlity
      Here we will test all the calcu
  
  @Browser:IE
  @SmokeTest
  Scenario: Verify Girokonto Claculator functionality
      Given I have navigate to Girokonto Calculator Page
      And I see the calculator page fully loaded
      When I click on the Jetzt vergleichen! button
      Then Girokonten im Vergleich page should load
  </code></pre>
  
  <p>My Step Definition File,</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Configuration;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using Baseclass.Contrib.SpecFlow.Selenium.NUnit.Bindings;
  using OpenQA.Selenium;
  using TechTalk.SpecFlow;
  using Verivox.Pages;
  
  namespace Verivox.Steps
  {
      [Binding]
      class StrompreisvergleichSteps
      {
  
          [Given(@"I am on Verivox Home Page")]
          public void GivenIAmOnVerivoxHomePage()
          {
              Browser.Current.Navigate().GoToUrl(ConfigurationManager.AppSettings["seleniumBaseUrl"]);
              PropertyCollection.currentPage = new HomePage();
  
          }
  
          [When(@"I have entered (.*) and (.*)")]
          public void WhenIHaveEnteredAnd(String postalCode, String Usage)
          {
              PropertyCollection.currentPage.As&lt;HomePage&gt;().EnterPostalCode(postalCode);
              PropertyCollection.currentPage.As&lt;HomePage&gt;().EnterUsage(Usage);
          }
  
          [When(@"I clicked on Jetzt verglei button")]
          public void WhenIClickedOnJetztVergleiButton()
          {
              PropertyCollection.currentPage = PropertyCollection.currentPage.As&lt;HomePage&gt;().SubmitStrom();
          }
  
          [When(@"I clik on Jetzt wechsein button in the eprimo in Strom Page")]
          public void WhenIClikOnJetztWechseinButtonInTheEprimoInStromPage()
          {
              PropertyCollection.currentPage = PropertyCollection.currentPage.As&lt;StromPage&gt;().clickItemJetztButton();
          }
  
          [Then(@"the eprimo Strom page appear")]
          public void ThenTheEprimoStromPageAppear()
          {
              PropertyCollection.currentPage.As&lt;EprimoPage&gt;().verifyPageHeader();
  
          }
  
      }
  }
  </code></pre>