Authentication with Protractor
Authentication can be done either with a username and password or with an accessKey.
The username and password or accessKey can either be passed as part of the capabilities.
Capabilities authentication
For username and password, use the following convention:
protractor.conf.js
exports.config = {
......
capabilities: {
'username': <cloudUsername>,
'password': <cloudPassword>,
'projectName': <cloudProject>,
.....
},
...
};
For accessKey, use the following convention:
protractor.conf.js
exports.config = {
......
capabilities: {
'accessKey': <accessKey>,
.....
},
...
};