Wednesday, 30 June 2010

What if Selenium's Highlight Command was always on?

A reader asked for recommendations on how to use Selenium's "Highlight" command. Now I personally don't use the highlight function. Never really have. When I debug my tests, I step through the script in Eclipse (I write all my tests in Selenium-RC using Java).
But, by using reflection to automatically generate code for a java class we can run the highlight command prior to executing other Selenium commands, without amending our existing tests. And answer the question, "what if Selenium's Highlight Command was always on?"