Open j-blandford opened 4 years ago
You should put it in protractor-config.js
. It might be named differently, but usually looks something like this. Put the id into the seleniumSessionId
field. Eg.:
exports.config = {
framework: 'jasmine',
capabilities: {
browserName: 'chrome'
},
seleniumSessionId: fs.readFileSync('.seleniumSessionId.txt').toString();
// ... more config eventualy...
};
@JamesBlandford - did this solve it for you?
if not, try to share your protractor config file.
Where do we put this line?
My command to run my protractor is
npm run e2e-ft -- -c=local
and in the package.json the e2e-ft is this:ng e2e --suite full_test