gst-atom-xcuitest-driver
Version:
ATOM driver for iOS using XCUITest for backend
16 lines (13 loc) • 401 B
JavaScript
const extensions = {}, commands = {};
/**
* Returns device info.
*
* @returns {Object} The response of `/wda/device/info'`
* @throws {Error} if an error raised by command
*/
commands.mobileGetDeviceInfo = async function mobileGetDeviceInfo () {
return await this.proxyCommand('/wda/device/info', 'GET');
};
Object.assign(extensions, commands);
export { commands };
export default extensions;