@applitools/execution-grid-tunnel

中文文档
4.1.0发布于 2026/06/02SEE LICENSE IN LICENSECommonJS近 30 天下载 57.1万

Allows user to run tests with exection-grid and navigate to private hosts and ips

原始使用文档
文档目录3 节
  1. Installing
  2. Using the package to run execution-grid-tunnel
  3. Environment Variable

execution-grid-tunnel

Allows user to run tests with exection-grid and navigate to private hosts and ips

Installing

npm install @applitools/execution-grid-tunnel

Using the package to run execution-grid-tunnel

const startExecutionGridTunnel = require('@applitools/execution-grid-tunnel')

const {cleanupFunction, port} = startExecutionGridTunnel()

Environment Variable

  • APPLITOOLS_EG_TUNNEL_PORT - The port of execution-grid-tunnel service (by default, the service listens to a random port)
  • APPLITOOLS_EG_TUNNEL_MANAGER_URL - execution-grid-tunnel-manager-url (by default, https://exec-wus.applitools.com)
  • APPLITOOLS_EG_TUNNEL_MIN_PORT_RANGE - min port range
  • APPLITOOLS_EG_TUNNEL_MAX_PORT_RANGE - max port range
  • APPLITOOLS_EG_TUNNEL_MODE_ENV - if you want to see the logs on the screen set the value to 'development'
  • APPLITOOLS_EG_TUNNEL_LOG_LEVEL - Execution grid logs level

版本与发布记录

@applitools/execution-grid-tunnel 共发布 73 个版本,首次发布于 2023/01/16;过去 12 个月发布了 8 个版本。

版本发布日期距今
4.1.0latest2026/06/025 个月前
4.0.22026/05/036 个月前
4.0.12026/04/166 个月前
4.0.0-debug-20260416.0debug-202604162026/04/166 个月前
4.0.02026/02/228 个月前
3.1.52026/02/228 个月前

其他发布通道:beta → 1.0.22-beta.2,debug-20260416 → 4.0.0-debug-20260416.0。

关于 @applitools/execution-grid-tunnel 的常见问题

@applitools/execution-grid-tunnel 是什么?

Allows user to run tests with exection-grid and navigate to private hosts and ips

如何安装 @applitools/execution-grid-tunnel?

在项目目录运行 npm install @applitools/execution-grid-tunnel,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 run-execution-grid-tunnel,可以用 npx run-execution-grid-tunnel 直接运行。

@applitools/execution-grid-tunnel 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/applitools__execution-grid-tunnel 是否存在。

@applitools/execution-grid-tunnel 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@applitools/execution-grid-tunnel 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=20.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@applitools/execution-grid-tunnel 可以商用吗?

@applitools/execution-grid-tunnel 使用 SEE LICENSE IN LICENSE 许可。许可条款写在包内的独立文件中,请阅读该文件确认可否商用。以上为概括,不构成法律意见,请以许可原文为准。

@applitools/execution-grid-tunnel 的下载量有多少?

根据 npm 官方下载统计,@applitools/execution-grid-tunnel 在 2026/10/07 – 2026/11/05 这 30 天内被下载 570,996 次,日均约 19,033 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@applitools/execution-grid-tunnel 还在维护吗?

最新版本 4.1.0 发布于 2026/06/02(5 个月前);至今共发布 73 个版本,其中过去 12 个月发布了 8 个;首次发布于 2023/01/16。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。