remove old xpath support and promote -real xpath to xpath

This commit is contained in:
Jonathan Lipps
2014-04-09 14:39:36 -07:00
parent bbcfdb829c
commit 958aac7e09
19 changed files with 158 additions and 604 deletions
-8
View File
@@ -10,14 +10,6 @@ chai.should();
chaiAsPromised.transferPromiseness = wd.transferPromiseness;
require("colors");
wd.addPromiseChainMethod('elementByRealXPath', function (selector) {
return this.element('-real xpath', selector);
});
wd.addPromiseChainMethod('elementsByRealXPath', function (selector) {
return this.elements('-real xpath', selector);
});
module.exports = function (context, desired, opts) {
context.timeout(env.MOCHA_INIT_TIMEOUT);