-
-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
38 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
sonic: | ||
agent: | ||
# 替换为部署Agent机器的ipv4 | ||
# Replace with ipv4 of the agent machine | 替换为部署Agent机器的ipv4 | ||
host: 192.168.1.1 | ||
# 替换为Agent服务的端口,可以自行更改 | ||
# Replace with the port of the agent service, which can be changed by yourself | 替换为Agent服务的端口,可以自行更改 | ||
port: 7777 | ||
# 替换为前端新增Agent生成的key | ||
# Replace with the key of agent generated by the new front-end | 替换为前端新增Agent生成的key | ||
key: 5aa13292-b9a8-408c-a091-d784d1f37472 | ||
server: | ||
# 改成server的SONIC_SERVER_HOST | ||
# Change to SONIC_SERVER_HOST of server | 改成server的SONIC_SERVER_HOST | ||
host: 192.168.1.1 | ||
# 改成server的SONIC_SERVER_PORT | ||
# Change to SONIC_SERVER_PORT of server | 改成server的SONIC_SERVER_PORT | ||
port: 3000 | ||
|
||
modules: | ||
android: | ||
# 是否开启安卓模块 | ||
# Whether to enable Android module | 是否开启安卓模块 | ||
enable: true | ||
# 是否开启sonic-android-supply远程adb调试功能 | ||
# Whether to enable sonic-android-supply module | 是否开启sonic-android-supply功能 | ||
use-sas: true | ||
ios: | ||
# 如果不需要连接iOS设备,请将true改为false。开启的windows用户请确保本机已安装iTunes | ||
# Whether to turn on the iOS module. Please ensure that iTunes is installed on this computer for Windows users | 是否开启iOS模块。开启的windows用户请确保本机已安装iTunes | ||
enable: true | ||
# 替换为你自己使用的wda的bundleId,如果没有.xctrunner后缀会自动补全,建议使用公司的开发者证书 | ||
# Replace with the bundleId of wda. If there is no. xcrunner suffix, it will be automatically completed. | 替换为wda的bundleId,如果没有.xctrunner后缀会自动补全 | ||
wda-bundle-id: com.sonic.WebDriverAgentRunner | ||
sgm: | ||
# 是否开启sonic-go-mitmproxy网络抓包功能 | ||
# Whether to enable the sonic-go-mitmproxy module | 是否开启sonic-go-mitmproxy功能 | ||
enable: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,28 @@ | ||
sonic: | ||
agent: | ||
# 替换为部署Agent机器的ipv4 | ||
# Replace with ipv4 of the agent machine | 替换为部署Agent机器的ipv4 | ||
host: ${AGENT_HOST:192.168.0.2} | ||
# 替换为Agent服务的端口,可以自行更改 | ||
# Replace with the port of the agent service, which can be changed by yourself | 替换为Agent服务的端口,可以自行更改 | ||
port: ${AGENT_PORT:7777} | ||
# 替换为前端新增Agent生成的key | ||
# Replace with the key of agent generated by the new front-end | 替换为前端新增Agent生成的key | ||
key: ${AGENT_KEY:235a35fd-5d0d-4533-905d-30d32902a12b} | ||
server: | ||
# 改成server的SONIC_SERVER_HOST | ||
# Change to SONIC_SERVER_HOST of server | 改成server的SONIC_SERVER_HOST | ||
host: ${SONIC_SERVER_HOST:192.168.1.1} | ||
# 改成server的SONIC_SERVER_PORT | ||
# Change to SONIC_SERVER_PORT of server | 改成server的SONIC_SERVER_PORT | ||
port: ${SONIC_SERVER_PORT:3000} | ||
|
||
modules: | ||
android: | ||
# 是否开启安卓模块 | ||
# Whether to enable Android module | 是否开启安卓模块 | ||
enable: ${ANDROID_ENABLE:true} | ||
# 是否开启sonic-android-supply远程adb调试功能 | ||
# Whether to enable sonic-android-supply module | 是否开启sonic-android-supply功能 | ||
use-sas: ${USE_SAS:true} | ||
ios: | ||
# 如果不需要连接iOS设备,请将true改为false。开启的windows用户请确保本机已安装iTunes | ||
# Whether to turn on the iOS module. Please ensure that iTunes is installed on this computer for Windows users | 是否开启iOS模块。开启的windows用户请确保本机已安装iTunes | ||
enable: ${IOS_ENABLE:true} | ||
# 替换为你自己使用的wda的bundleId,如果没有.xctrunner后缀会自动补全,建议使用公司的开发者证书 | ||
# Replace with the bundleId of wda. If there is no. xcrunner suffix, it will be automatically completed. | 替换为wda的bundleId,如果没有.xctrunner后缀会自动补全 | ||
wda-bundle-id: ${WDA_BUNDLE_ID:com.facebook.WebDriverAgentRunner.xctrunner} | ||
sgm: | ||
# Whether to enable the sonic-go-mitmproxy module | 是否开启sonic-go-mitmproxy功能 | ||
enable: ${SGM_ENABLE:true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters