mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-20 17:20:12 +01:00
9 lines
334 B
JavaScript
9 lines
334 B
JavaScript
// 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;
|
|
};
|
|
|
|
|
|
|