Reputation: 318
Is there a way to pass in the address of the Selenium Hub when running the protractor tests e.g. with using npm run protractor
?
Upvotes: 0
Views: 895
Reputation: 117
It could also be placed inside your conf.js file e.g.:
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
...
};
Upvotes: 0
Reputation: 2547
Yes, you can pass selenium address while running from command prompt:
protractor --seleniumAddress='http://localhost:4444/wd/hub' conf.js
Upvotes: 6