在运行量角器测试时,有没有办法传入Selenium Hub的地址,例如使用npm run protractor
发布于 2016-08-04 18:04:29
可以,您可以在命令提示符下运行时传递selenium地址:
protractor --seleniumAddress='http://localhost:4444/wd/hub' conf.js发布于 2016-11-17 07:48:39
它也可以放在你的conf.js文件中,例如:
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
...
};https://stackoverflow.com/questions/38760537
复制相似问题