UNPKG

nightwatch

Version:

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

17 lines (15 loc) 421 B
const ProtocolAction = require('./_base-action.js'); /** * Query the server's current status. * * @method status * @link /#status * @syntax .status([callback]) * @param {function} callback Callback function which is called with the result value. * @api protocol.sessions */ module.exports = class Action extends ProtocolAction { command(callback) { return this.transportActions.getStatus(callback); } };