UNPKG

@testwizard/commands-mobile

Version:

20 lines (14 loc) 569 B
'use strict'; const Commands = require('@testwizard/commands-core'); const Result = Commands.ResultForOkAndErrorMessage; class TouchAction_PerformCommand extends Commands.CommandBase { constructor(testObject) { super(testObject, 'Mobile.TouchAction_Perform'); } async execute() { const requestObj = []; const json = await this.executeCommand(requestObj); return new Result(json, 'touchAction_Perform was successful', 'touchAction_Perform failed'); } } module.exports = TouchAction_PerformCommand;