我正在尝试使用 XCTest 中的功能截图来捕获屏幕,但我无法理解如何将此屏幕截图保存到模拟器设备或物理设备上
https://developer.apple.com/documentation/xctest/xcuiscreenshot
我正在尝试在这里自动化 UI 测试,并且需要捕获大量屏幕截图以供审核。
screenshot ios swift xcode-ui-testing
ios ×1
screenshot ×1
swift ×1
xcode-ui-testing ×1