webdriverio-workflo
Version:
This is a customized version of webdriverio for use with workflo framework.
18 lines (15 loc) • 356 B
JavaScript
/**
*
* Release touch sequence on specific element.
*
* @alias browser.release
* @param {String} selector element to release on
* @uses property/getLocation, protocol/touchUp
* @type mobile
*
*/
let release = function (selector) {
return this.getLocation(selector).then(
(res) => this.touchUp(res.x, res.y))
}
export default release