Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants