mirror of
https://github.com/appium/appium.git
synced 2026-05-08 03:49:30 -05:00
remove old xpath support and promote -real xpath to xpath
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user