Open cnishina opened 8 years ago
This is a documentation fail for us.
getLocationAbsUrl
is meaningless without Angular. It's intended as a supplement to getCurrentUrl
when that doesn't work. (some IE situations)
Maybe we should rename it to something more useful, or make it very clear in the documentation that it doesn't work for other pages.
We should fix this and the docs for https://github.com/angular/protractor/issues/3007 at the same time - related issue.
Clicking on my "doge meme" link and testing to see the abs url should work. Instead receive error message: "Failed: unknown error: angular is not defined".
website:
spec.js:
repo: https://github.com/cnishina/protractor-examples/tree/master/webdriver