Files
enviPy-bayer/static/js/ketcher2/node_modules/webdriverio/lib/commands/release.js
2025-06-23 20:13:54 +02:00

18 lines
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