SuperAPI AI 工具集

nova-act

编程与开发

查看项目

更新于 10-15 19:56

技能介绍

用途:Nova Act 是 AI 驱动的浏览器自动化 SDK,面向网页抓取、测试和工作流自动化。可用于交互式探索网站、编写可重复的测试脚本、Python 自动化脚本、把手工测试转为自动化、通过 UI 理解代码库、复现缺陷、生成模拟站点以及部署到生产。

主要能力:提供浏览器 CLI 与 Python 脚本两种模式。CLI 适合探索和智能体工具调用,支持 execute、ask、goto 等命令与会话管理;Python 模式适合可重复自动化,通过 NovaAct 上下文调用 act() 与 act_get()。还涉及结构化数据提取(Pydantic)、人工审批与接管、外部工具(@tool、MCP)、远程浏览器、Playwright 互操作、会话日志与截图录像、轨迹分析、可视化报告、Gherkin 测试、流程发现、缺陷复现、并行会话、工作流精炼与模拟站点生成。

使用方式:认证有两种,必须由用户选择。API Key 适合开发测试,在 https://nova.amazon.com/act?tab=dev_tools 生成后执行 export NOVA_ACT_API_KEY="your_key",无需装饰器;AWS 凭证加工作流定义适合生产,需要 AWS 凭证与 @workflow 装饰器。CLI 安装:pip install 'nova-act[cli]'。示例:act browser execute "Go to https://example.com, find the pricing page, and extract plan names and prices" --session-id work。Python 示例:from nova_act import NovaAct;with NovaAct(starting_page="https://example.com") as nova: nova.act("click the first link on the page");result = nova.act_get("What is the page title?")。运行浏览器命令前需确认 headed 或 headless 模式。

限制与注意:不要手动结束 Chrome/Chromium 进程,否则会破坏会话状态;本地 HTTPS 自签名证书可用 --launch-arg=--ignore-certificate-errors --ignore-https-errors 绕过,但仅限本地开发。需要 Python 3.10+,Chrome 可选。SDK 采用 Apache-2.0 许可。具体收费、价格与效果资料暂未提供。