diff --git a/lib/devices/android/android-controller.js b/lib/devices/android/android-controller.js index 3e9814c05..108e7feb8 100644 --- a/lib/devices/android/android-controller.js +++ b/lib/devices/android/android-controller.js @@ -191,10 +191,6 @@ androidController.touchMove = function (elementId, x, y, cb) { this.proxy(["element:touchMove", opts], cb); }; -androidController.fireEvent = function (evt, elementId, value, cb) { - cb(new NotYetImplementedError(), null); -}; - androidController.getStrings = function (cb) { this.proxy(["getStrings"], cb); }; diff --git a/lib/devices/firefoxos/firefoxos.js b/lib/devices/firefoxos/firefoxos.js index 9ec87839b..548a4fb01 100644 --- a/lib/devices/firefoxos/firefoxos.js +++ b/lib/devices/firefoxos/firefoxos.js @@ -244,7 +244,6 @@ Firefox.prototype.notImplementedCmds = function () { , 'findElements' , 'findElementFromElement' , 'findElementsFromElement' - , 'fireEvent' , 'complexTap' , 'flick' , 'touchLongClick' diff --git a/lib/devices/ios/ios-controller.js b/lib/devices/ios/ios-controller.js index eb44004b0..43c1aa04d 100644 --- a/lib/devices/ios/ios-controller.js +++ b/lib/devices/ios/ios-controller.js @@ -523,16 +523,6 @@ iOSController.getStrings = function (cb) { }); }; -iOSController.fireEvent = function (evt, elementId, cb) { - if (this.isWebContext()) { - this.useAtomsElement(elementId, cb, function (atomsElement) { - this.executeAtom('fireEvent', [evt, atomsElement], cb); - }.bind(this)); - } else { - cb(new NotImplementedError(), null); - } -}; - iOSController.executeAtom = function (atom, args, cb, alwaysDefaultFrame) { var counter = this.executedAtomsCounter++; var frames = alwaysDefaultFrame === true ? [] : this.curWebFrames; diff --git a/lib/server/controller.js b/lib/server/controller.js index 2751f5588..e2d099a68 100644 --- a/lib/server/controller.js +++ b/lib/server/controller.js @@ -321,14 +321,6 @@ exports.touchMove = function (req, res) { } }; -exports.fireEvent = function (req, res) { - logCustomDeprecationWarning('mobile method', 'fireEvent', - "fireEvent will be removed in a future version of Appium"); - var elementId = req.body.element - , evt = req.body.event; - req.device.fireEvent(evt, elementId, getResponseHandler(req, res)); -}; - exports.mobileTap = function (req, res) { req.body = _.defaults(req.body, { tapCount: 1 @@ -1072,7 +1064,6 @@ var mobileCmdMap = { , 'lock' : exports.lock , 'background' : exports.background , 'keyevent' : exports.keyevent -, 'fireEvent': exports.fireEvent , 'find': exports.find , 'waitForPageLoad': exports.waitForPageLoad , 'currentActivity': exports.getCurrentActivity