I have been running into a problem with the C# selenium bindings decribed here: Selenium Error - The HTTP request to the remote WebDriver timed out after 60 seconds
where a timeout exception is thrown occasionally while running my selenium tests. The tests are all written using spec flow, and I would love to have a way to catch that exception and have the test return as Inconclusive (instead of failed) for that particular exception.
Does anyone know of a way to wrap each spec flow scenario in a try catch block? Is that possible to do? Or a way to automatically catch this exception without having to wrap each individual step definition in a try catch block?
Thanks!