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

Warning: Object.keys called on non-object Use --force to continue #11

Closed
edmadcap opened this issue Mar 20, 2014 · 2 comments
Closed

Warning: Object.keys called on non-object Use --force to continue #11

edmadcap opened this issue Mar 20, 2014 · 2 comments

Comments

@edmadcap
Copy link

I'm trying to run the "Required Options" usage example. But, I get the warning "Object.keys called on non-object". Any idea what I am doing wrong?

@christian-bromann
Copy link
Contributor

hi @edmadcap

this is a mistake on my site. The task expects at least and empty options and desiredCapabilites object. I will fix that. In the meantime use this example:

module.exports = function(grunt) {

    grunt.loadNpmTasks('grunt-webdriver');

    grunt.initConfig({
      webdriver: {
        githubTest: {
          tests: ['./github-test.js'],
          options: {
            desiredCapabilities: {}
          }
        }
      },
    })

};

@christian-bromann
Copy link
Contributor

is now fixed with v0.3.2 .. thank you for filing the issue

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