astrolabe
astrolabe copied to clipboard
Page.create returns { context : undefined } with protractor 1.0.0-rc1 and node 0.10.25
I'm not sure why it does so.
Experiencing the same issue. Our maven was pointed at 0.24 version and when I just installed the latest protractor version, this.context now returns undefined.
Did you find a solution or cause?
in my astrolabe/page.js, I found this line: exports = module.exports = Base.extend(function () { this.context = this.driver; }, {
I changed it to: exports = module.exports = Base.extend(function () { this.context = browser.driver; }, {
and now things are working.