@testwizard/commands-mobile
Version:
20 lines (14 loc) • 556 B
JavaScript
;
const Commands = require('@testwizard/commands-core');
const Result = Commands.ResultForOkAndErrorMessage;
class MultiTouch_AddCommand extends Commands.CommandBase {
constructor(testObject) {
super(testObject, 'Mobile.MultiTouch_AddToMultiTouch');
}
async execute() {
const requestObj = [];
const json = await this.executeCommand(requestObj);
return new Result(json, 'multiTouch_Add was successful', 'multiTouch_Add failed');
}
}
module.exports = MultiTouch_AddCommand;