Hi,
I'm just starting with Protractor, but is there any reason why only
"$location.absUrl" method is exposed via "getLocationAbsUrl" method? What
about other $location methods like "url", "path" and so on? When testing
routes I need to create protractor instance just to get base url and then
manually concatenate it with expected path. It would be much easier if I
could simply get path itself. If there's no particular reason why these
other methods are missing, how can I extend "clientSideScripts" to add them
myself?
Cheers,
Szymon
I'm just starting with Protractor, but is there any reason why only
"$location.absUrl" method is exposed via "getLocationAbsUrl" method? What
about other $location methods like "url", "path" and so on? When testing
routes I need to create protractor instance just to get base url and then
manually concatenate it with expected path. It would be much easier if I
could simply get path itself. If there's no particular reason why these
other methods are missing, how can I extend "clientSideScripts" to add them
myself?
Cheers,
Szymon