UNPKG

appium-xcuitest-driver

Version:

Appium driver for iOS using XCUITest for backend

23 lines 780 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.XctestAttachmentDeletionClient = void 0; /** * Deletes XCTest screen-recording attachments on a real device via appium-ios-remotexpc * (testmanagerd). */ class XctestAttachmentDeletionClient { facade; constructor(facade) { this.facade = facade; } async deleteAttachmentsByUuid(uuids) { if (!uuids.length) { return; } const XCTestAttachment = await this.facade.getXCTestAttachment(); const attachment = new XCTestAttachment(this.facade.udid); await attachment.delete(uuids); } } exports.XctestAttachmentDeletionClient = XctestAttachmentDeletionClient; //# sourceMappingURL=xctest-attachment-deletion-client.js.map