A whole bunch more Selenium tests working

This commit is contained in:
Eric Allen 2009-10-07 16:32:34 -04:00
parent 6126a6e9d7
commit 86de0a1290
5 changed files with 10 additions and 4 deletions

View file

@ -2,5 +2,5 @@
// store, assert, assertNot, verify, verifyNot, waitFor, and waitForNot commands.
// Will result in support for storeContextCount, assertContextCount, etc.
Selenium.prototype.getContextCount = function() {
return this.browserbot.getCurrentWindow().$$('.context').length;
return this.browserbot.getCurrentWindow().$('.context').size();
};