I have some SpecFlow features which are using Selenium 2 to automate some UI testing of an ASP.NET MVC 3 application. When I run these locally, it runs fine and the tests pass. Once committing my changes to Git and pushing the commits to our remote repository for our TeamCity instance to pick up, the tests run and take a hell of a lot longer, only to fail with the following.
Test(s) failed. OpenQA.Selenium.WebDriverException : No response from server for url http://localhost:7055/hub/session/1ada0501-154a-45f7-b0a3-487af59f7a0b/timeouts/implicit_wait
I have tried searching around for various solutions with zero luck of finding anything remotely relevant. If anyone can link to any resources that would make my life easier please feel free to share them. Or help solve this issue.
I don’t know the answer, but here is or plumbing code that worked for us with the following setup:
Selenium setup:
Setup/teardown firefox with SpecFlow events: