iOS-Screenshot-Automator 用来为批量创建屏幕截图,根据你定义的每个语言和每种设备。
示例代码:
#import "iOS-Screenshot-Automator/Helper.js" test("Login Test", loginTest); test("Route Test", routeDetailsTest); ... function loginTest(target, app) { var window = app.mainWindow(); var navBar = window.navigationBar(); ... captureLocalizedScreenshot("Login"); .... }