Closed quangv closed 12 years ago
client.chain.session() .open('http://google.com') .getEval('alert("hi")') .end();
the alert("hi") runs in the Selenium RC window, not the actual browser subject window (http://google.com)...
alert("hi")
discovered that you can access stuff in the other window by .getEval("selenium.browserbot.getUserWindow()")
.getEval("selenium.browserbot.getUserWindow()")
the
alert("hi")
runs in the Selenium RC window, not the actual browser subject window (http://google.com)...