Added some code to the selenium adapter to print a warning if you try to set a cookie on an "empty" browser.