rem: selenium = Selenium.createForWindow(this._getApplicationWindow()); 
add: var appWindow = this._getApplicationWindow(); try { appWindow.location; } catch (e) {  setTimeout(fnBind(function() { this.loadSuiteFrame(); }, this), 500); return; } selenium = Selenium.createForWindow(appWindow); 
context:     loadSuiteFrame: function() {        if (selenium == null) {            selenium = Selenium.createForWindow(this._getApplicationWindow());            this._registerCommandHandlers();        }        this.controlPanel.setHighlightOption();        var testSuiteName = this.controlPanel.getTestSuiteName();        if (testSuiteName) {            suiteFrame.load(testSuiteName, fnBind(this._onloadTestSuite, this));        }    },
meta: 3428	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3428/5d32068cf0753d8bc81840f71780a2a1d5dd0666/selenium-testrunner.js/clean/code/javascript/core/scripts/selenium-testrunner.js