The scenario works fine with Firefox and Chrome. But it fails in Internet Explorer.
Code where the exception is captured.
OpenQA.Selenium.NoSuchElementException : Unable to add cookie to page
TearDown : OpenQA.Selenium.NoSuchElementException : Unable to add cookie to page
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at com.Web.UI.AcceptanceTests.Common.WebStepsContext.ResetCurrencyIdIncomCookie() in WebStepsContext.cs: line 332
at com.Web.UI.AcceptanceTests.Common.WebBasePageObject.DeleteAndRecreatecomCookie() in WebBasePageObject.cs: line 53
at com.Web.UI.AcceptanceTests.Steps.MyAccountPageSteps.GivenIAmOnTheSiginPageForOpeningMyAccountPage() in MyAccountPageSteps.cs: line 76
at com.Web.UI.AcceptanceTests.Steps.MyAccountPageSteps.GivenIAmAnExistingUser() in MyAccountPageSteps.cs: line 176
at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, ref TimeSpan duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStepMatch(BindingMatch match, Object[] arguments)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.ExecuteStep(StepInstance stepInstance)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnAfterLastStep()
at com.Web.UI.AcceptanceTests.Features.Secure.UserAccountFeature.ScenarioCleanup() in UserAccount.feature.cs: line 0
at com.Web.UI.AcceptanceTests.Features.Secure.UserAccountFeature.VerifyDuplicateGiftVoucherCannotBeAddedToTheSameUserAccount(String errorMessage, String[] exampleTags) in UserAccount.feature: line 251
--TearDown
at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response errorResponse)
at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
at com.Web.UI.AcceptanceTests.Common.WebStepsContext.DeleteAllCookies() in WebStepsContext.cs: line 128
at TechTalk.SpecFlow.Bindings.BindingInvoker.InvokeBinding(IBinding binding, IContextManager contextManager, Object[] arguments, ITestTracer testTracer, ref TimeSpan duration)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.FireEvents(HookType bindingEvent)
at TechTalk.SpecFlow.Infrastructure.TestExecutionEngine.OnScenarioEnd()
at com.Web.UI.AcceptanceTests.Features.Secure.UserAccountFeature.ScenarioTearDown() in UserAccount.feature.cs: line 0
Please let me know if you need any more input from my end.