I'm trying to set the baseUrl to https://myfantasyurl.com/with/a/path/ like
exports.config = {
specs: ['spec.js'],
baseUrl: 'https://myfantasyurl.com/with/a/path/'
};
but when running protractor with selenium, the browser will always open https://myfantasyurl.com/. Is this not supported by protractor? Maybe something wrong configured?
The issue was that in the tests I used to call
browser.get('/');
I changed this to
browser.get('./');
which fixes the error.
Most helpful comment
The issue was that in the tests I used to call
I changed this to
which fixes the error.