forked from enviPath/enviPy
Current Dev State
This commit is contained in:
17
static/js/ketcher2/node_modules/webdriverio/lib/commands/release.js
generated
vendored
Normal file
17
static/js/ketcher2/node_modules/webdriverio/lib/commands/release.js
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
*
|
||||
* 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
|
||||
Reference in New Issue
Block a user