I'm testing a page with Selenium IDE and want to execute a method already in the page. I've tried getEval(window.name.space.function())
but it just returns window.name
is undefined. Is this possible?
views:
310answers:
1
+2
A:
There is a getCurrentWindow() function which for unfathomable reasons only allows you to access "safe" properties (what is this supposed to protect against? people maliciously doing drive-by testing of other people's website?). Newer versions offer a getUserWindow() function that solves those issues. See this blog entry and this issue for details.
fforw
2009-05-18 13:13:20