UNPKG

nightwatch

Version:

Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.

16 lines (13 loc) 433 B
const ProtocolAction = require('./_base-action.js'); /** * Release the depressed left mouse button at the current mouse coordinates (set by `.moveTo()`). * * * @param {function} [callback] Optional callback function to be called when the command finishes. * @api protocol.useractions */ module.exports = class Command extends ProtocolAction { command(callback) { return this.transportActions.release(callback); } };