UNPKG

nightwatch

Version:

Easy to use Node.js based End-to-End testing solution for browser based apps and websites, using the W3C WebDriver API.

15 lines (13 loc) 429 B
const ProtocolAction = require('./_base-action.js'); /** * Double-clicks at the current mouse coordinates (set by `.moveTo()`). * * @method doubleClick * @param {function} [callback] Optional callback function to be called when the command finishes. * @api protocol.useractions */ module.exports = class Session extends ProtocolAction { command(callback) { return this.transportActions.doubleClick(callback); } };