nightwatch
Version:
Easy to use Node.js based end-to-end testing solution for web applications using the W3C WebDriver API.
16 lines (14 loc) • 402 B
JavaScript
const ProtocolAction = require('./_base-action.js');
/**
* Query the server's current 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);
}
};