SuperAPI AI 工具集

iblai-marketing-screenshot

营销与增长

查看项目

更新于 10-15 22:16

技能介绍

用途:为 ibl.ai 应用截取应用商店列表、文档和营销用的截图,覆盖纯 Web、iOS(App Store)和 Android(Google Play)。所有截图都要求先登录,以捕获真实应用而非登录页。

Web 截图(Playwright):先在 e2e/.env.development 设置 PLAYWRIGHT_USERNAME、PLAYWRIGHT_PASSWORD;用 iblai builds screenshot 生成 e2e/screenshots.spec.ts(含 iPhone、iPad、Android Phone/Tablet、Apple Watch、Desktop 视口预设);screenshots.spec.ts 需通过 e2e/auth.setup.ts 完成 SSO 登录,并将认证状态保存到 playwright/.auth/,通过 storageState 使用。先运行 pnpm exec playwright test e2e/auth.setup.ts --project=setup-chromium,再运行 pnpm exec playwright test e2e/screenshots.spec.ts。可用 --pages / /profile /notifications /analytics 自定义页面,用 SCREENSHOT_BASE_URL 指定自定义基础 URL。截图保存到 screenshots/<device-slug>/<page-name>.png。

iOS 截图(Xcode 模拟器):需初始化 Tauri iOS 项目(iblai builds ios init)并安装 Xcode 模拟器。用 iblai builds ios dev 启动,首次需在 WebView 用用户名密码登录(必要时点 Continue with Password),会话按模拟器持久。用 screencapture 捕获含标题栏的模拟器窗口。App Store Connect 要求的设备尺寸与分辨率见资料表格。

Android 截图(模拟器):需初始化 Tauri Android 项目(iblai builds android init)并配置 Android Studio 模拟器。用 iblai builds android dev 启动并登录,会话持久。macOS 用 screencapture、Linux 用 xdotool import 捕获窗口。Google Play 所需尺寸与模拟器设备见资料表格。资料还提供了 iOS 与 Android 的批量捕获脚本。

限制:各平台需预置环境与凭据;仅覆盖上述三类截图流程,未提供价格、收费或其他功能说明。