Thursday 10 January 2013

Writing custom C# scripts when Edit-and-Continue is not possible

Due to limitations of Edit-and-Continue, we can’t make code changes here:



image

This sucks because I wanted to try a couple code snippets that need the runtime-state.

But, using the technique described in Coding Firefox in C# in real-time using Selenium's Firefox driver , I can have a C# REPL environment to run those scripts :)

image

For a similar (long) detailed explanation of how to use this debugging/coding technique, see also OpenQA.Selenium.DriverServiceNotFoundException on Chrome