teerapap / grunt-protractor-runner

A Grunt plugin for running protractor runner.
MIT License
149 stars 123 forks source link

Chrome 40.0.2214.115, Fatal error: protractor exited with code: 100 #113

Open MarkusPint opened 9 years ago

MarkusPint commented 9 years ago

Grunt-protractor-runner version 1.2.1, Windows 7

This is the Grunt-Protractor-Runner part of my Gruntfile:

protractor: {
        options: {
            configFile: "node_modules/protractor/example/conf.js"
        },
        task: {
            options: {
                args: {
                    directConnect: true,
                    seleniumAddress: 'http://localhost:4444/wd/hub',
                    specs: ['test/e2e/*.js'],
                    baseUrl: 'http://localhost:1200',
                    params: {
                        username: e2eData.username,
                        password: e2eData.password
                    },
                    jasmineNodeOpts: {
                        showColors: true,
                        defaultTimeoutInterval: 30000
                    }
                }
            }
        }

Chrome never launches and this is printed in the console: Running "protractor:task" (protractor) task Using ChromeDriver directly...

Fatal error: protractor exited with code: 100

The same config works with pure Protractor and the same config file.

What could the issue be?

ekarlto commented 9 years ago

I am also seeing this issue. If I disable directconnect in my gruntfile.js, everything runs fine but with directConnect set as true, I get the "exited with code: 100". Also, if I run it without grunt, directconnect works flawlessly.

Configuration: grunt-protractor-runner@1.2.1 grunt-protractor-webdriver@0.2.0 protractor@1.7.0