You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature: Homepage
As a user
I want to visit the homepage
So that I can access the various features on offer
/home/lsiden/pah/cpportal/node_modules/protractor-cucumber/node_modules/selenium-webdriver/builder.js:408
'Target browser must be a string, but is <' + (typeof browser) + '>;' +
^
TypeError: Target browser must be a string, but is <object>; did you forget to call forBrowser()?
at TypeError (native)
at [object Object].Builder.build (/home/lsiden/pah/cpportal/node_modules/protractor-cucumber/node_modules/selenium-webdriver/builder.js:408:79)
at new World (/home/lsiden/pah/cpportal/node_modules/protractor-cucumber/lib/index.js:17:6)
at Object.<anonymous> (/home/lsiden/pah/cpportal/node_modules/grunt-cucumber/node_modules/cucumber/bin/cucumber.js:4:5)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
My step_definitions/steps.js file was taken directly from the example:
var pc = require('protractor-cucumber');
I'm having the same issue. Please let me know if you have any suggestions / resolutions.
i ran it with $ cucumber.js homepage.feature in the feature folder
I get this after I installed grunt-cucumber-js and ran "grunt cucumberjs". I tried to run it from the command-line like so and got more info:
$ node_modules/grunt-cucumber/node_modules/cucumber/bin/cucumber.js
My step_definitions/steps.js file was taken directly from the example:
var pc = require('protractor-cucumber');
Is there something else you need to update in the README.md?
The text was updated successfully, but these errors were encountered: