我需要更改默认情况下使用的 selenium 独立服务器的端口号 (4444)。端口 4444 当前正在使用,有没有办法通过 wdio 文件更改端口号?
// Test runner services
// Services take over a specific job you don't want to take care of. They enhance
// your test setup with almost no effort. Unlike plugins, they don't add new
// commands. Instead, they hook themselves up into the test process.
services: ['selenium-standalone'],
目前我正在通过以下命令启动 selenium 服务器:
./node_modules/.bin/selenium-standalone start
我也尝试使用以下方法但没有运气:
./node_modules/.bin/selenium-standalone start -port 7777
运行上述命令仍然尝试在端口 4444 上运行 selenium 服务器。
狐的传说
catspeake
相关分类