autool/.env.example
2026-06-17 19:44:18 +08:00

60 lines
2.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# 环境变量配置模板 (Environment Variables Template)
# =============================================================================
# 使用说明:
# 1. 复制此文件并重命名为 .env
# 2. 将所有占位符(如 your_xxx_here替换为实际的配置值
# 3. .env 文件包含敏感信息,已在 .gitignore 中排除,请勿提交到版本控制
#
# 配置优先级(从高到低):
# 1. 环境变量 (.env 文件)
# 2. config.yaml
#
# 建议:
# - 敏感信息API密钥、Token、密码使用 .env 文件
# - 非敏感的本地路径/参数使用 config.yaml
# =============================================================================
# =============================================================================
# GuiAgent 配置
# =============================================================================
# GuiAgent 日志输出目录(默认: ./output
GUIAGENT_LOG_DIR=./output
# =============================================================================
# KeyPool 中转服务配置
# =============================================================================
# 如果使用自建 KeyPool 中转服务且要求认证,在此填入访问密钥
# 留空则不发送认证头
KEY_POOL_API_KEY=
# =============================================================================
# 场景配置 - 测试账户凭证(用于 scene_configs.json 中的登录/注册指令)
# =============================================================================
# 用途GuiAgent 在自动化处理登录/注册场景时使用的测试账户信息
# 这些变量在 scene_configs.json 中通过 ${VAR_NAME} 格式引用
SCENE_EMAIL=your_test_email@gmail.com
SCENE_PASSWORD=your_test_password_here
SCENE_USERNAME=your_test_username_here
SCENE_PHONE=+1234567890
# =============================================================================
# 微信/企业微信通知 Token 配置
# =============================================================================
# 用途:项目中的通知功能(如测试结果、异常告警)
# 获取方式:
# - 微信:通过企业微信机器人或个人通知服务
# - 企业微信:企业微信 > 群机器人 > Webhook 地址中的 key 参数
# 微信通知 Token个人
# 格式WECHAT_TOKEN_<NAME>
# 企业微信通知 Token团队
# 格式WECOM_TOKEN_<NAME>
# WECOM_TOKEN_TEAM1=your_wecom_webhook_token_here