2016-08-04 30 views

回答

5

是的,你可以從命令提示符下運行時,通過硒地址:

protractor --seleniumAddress='http://localhost:4444/wd/hub' conf.js 
0

它也可以放置在您的conf.js內部文件例如爲:

exports.config = { 
    seleniumAddress: 'http://localhost:4444/wd/hub', 
    ... 
};