我尝试将 Selenoid 配置为使用现有的 browsers.json 配置文件。为此,我使用命令
./src/main/resources/cm selenoid start --browsers-json ./src/main/resources/config/browsers.json --vnc
所有图像均已成功提取,但在开始时出现错误:
Failed to start: open C:\{User}\.aerokube\selenoid\browsers.json: The system cannot find the path specified.
我也试图指定config-dir
./src/main/resources/cm selenoid start --browsers-json ./src/main/resources/config/browsers.json --vnc --config-dir ./src/main/resources/config
之后我可以看到Successfully started Selenoid
但 Selenoid-Server 有状态RESTARTING
我该如何解决这个问题?