Paul Hammant's Blog: setContext(..) is back for Selenium2 :-P
Of course, Simon objects so it’s not actually in the core API, and it’s only back for Sauce Labs operation, via a hack :)
See a Sauce Labs job that shows it off in use for a BDD/JBehave script.
To use, just do something like this:
Sauce Labs (and others) can possibly use executeScript() as a generalized control API for their remote cloud instances.
September 30th, 2011