Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Page.create returns { context : undefined } with protractor 1.0.0-rc1 and node 0.10.25 #21

Open
crocket opened this issue Jul 13, 2014 · 2 comments

Comments

@crocket
Copy link

crocket commented Jul 13, 2014

I'm not sure why it does so.

@Joseph-Bittman
Copy link

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?

@Joseph-Bittman
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants