UNPKG

@testwizard/commands-mobile

Version:

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