Restore custom user-extensions.js for selenium tests.

This commit is contained in:
Luke Melia 2008-12-02 23:27:35 -05:00
parent 09f0322d45
commit ba09aab89c

View file

@ -0,0 +1,6 @@
// All get* methods on the Selenium prototype result in
// 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;
};