gherkai-worker-novaact
gherkai 的 Nova Act 执行引擎 worker:在云端浏览器(Amazon Bedrock AgentCore Browser)上执行 .feature 的每个 step——AI step 交给 Amazon Nova Act 模型看图操作与判定,确定性 step 走你自己写的 Playwright 函数。它由 gherkai 命令行按需拉起,不必手动运行;本机装上它,就是让 gherkai 能用 novaact 引擎执行测试。被测 UI 的支持范围是英文界面,非英文界面请用 Midscene 引擎。
安装
uv tool install 'gherkai[local]' # 命令行与本 worker 装进同一环境,需 Python ≥ 3.13
最小用法:写一条确定性 step
确定性 step 写在你自己项目的 steps/ 目录里,用 gherkai run --steps-dir ./steps 带上(缺省即 ./steps):
# steps/login.py
from gherkai_worker_novaact.deterministic import deterministic
@deterministic(r'以 "(?P<user>[^"]+)" 登录',
description="确定性填表登录",
example='Given 以 "alice" 登录')
def login(ctx, user):
ctx.page.fill("#user", user) # ctx.page 是 Playwright 的 Page
ctx.page.click("#submit")
用 gherkai list-deterministic --engine novaact --steps-dir ./steps 查当前注册了哪些。
文档
- 装什么、要哪些 AWS 前置、第一次怎么完整运行:https://github.com/zhiyanliu/gherkai/blob/HEAD/docs/user-guide/getting-started.md
- 确定性 step 的完整写法与两侧对照:https://github.com/zhiyanliu/gherkai/blob/HEAD/docs/user-guide/writing-deterministic-steps.md
.feature怎么写才能稳定运行:https://github.com/zhiyanliu/gherkai/blob/HEAD/docs/user-guide/writing-features.md- 模型、region、超时等环境变量与选项:https://github.com/zhiyanliu/gherkai/blob/HEAD/docs/user-guide/configuration.md
- 报错了先看哪:https://github.com/zhiyanliu/gherkai/blob/HEAD/docs/user-guide/troubleshooting.md
- 每版变更:https://github.com/zhiyanliu/gherkai/blob/HEAD/CHANGELOG.md
Metadata
Release files for gherkai-worker-novaact 1.4.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gherkai_worker_novaact-1.4.8.tar.gz | 58.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gherkai_worker_novaact-1.4.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 126.9 kB
Release files / gherkai_worker_novaact-1.4.8.tar.gz
| Download URL | gherkai_worker_novaact-1.4.8.tar.gz |
|---|---|
| Size | 58.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ba8b1bfc4e2ba0103b8da860149cc80312414456125eb81ff56e134a3add661
|
|
BLAKE2b-256 checksum How to use checksums |
59487c2801339f584e2063ee543582b66a147d1903cf8204d0c22712d4b36ddd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency logRelease files / gherkai_worker_novaact-1.4.8-py3-none-any.whl
| Download URL | gherkai_worker_novaact-1.4.8-py3-none-any.whl |
|---|---|
| Size | 68.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04e9346c997f07dbe48c6f57b490c62c8313e6891f3625aadf0a2d63990f8333
|
|
BLAKE2b-256 checksum How to use checksums |
78f7c161bbfa2b811f38fab75a617544b87ffce8d15bf27435210737e85bef9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.
Transparency log