Feature #8399
eval helper
Status:
Rejected
Priority:
Normal (P3)
Assignee:
-
Category:
API/Selenese
Target version:
-
Start date:
2010-12-03
Due date:
% Done:
0%
Estimated time:
Keywords:
Description
From a project of ours:
def eval(self, text): return self.selenium.getEval( "var document = selenium.browserbot.getCurrentWindow().document;\n" + text) def wait_for_condition(self, text): self.selenium.waitForCondition("""\ var document = selenium.browserbot.getCurrentWindow().document; Boolean(%s); """ % text)
History
#1
Updated by Wolfgang Schnerring about 10 years ago
- Status changed from New to Confirmed
#2
Updated by Wolfgang Schnerring about 8 years ago
- Status changed from Confirmed to Rejected
In Webdriver, window+document are the ones of the window under test, so everything will be fine.