AndrewKeig / protractor-cucumber

protractor-cucumber
MIT License
73 stars 59 forks source link

Error when running feature #22

Closed TheManFran closed 9 years ago

TheManFran commented 9 years ago

I'm trying to run your example feature, but is getting a selenium error. Please see below.

c:...\node_modules\protractor-cucumber\node_modules\selenium-webdriver\builder.js:407 throw TypeError( ^ TypeError: Target browser must be a string, but is ; did you forget to call forBrowser()? at TypeError (:null:null) at [object Object].Builder.build (c:...\node_modules\protractor-cucumber\node_modules\selenium-webdriver\builder.js:407:11) at new World (c:...\node_modules\protractor-cucumber\lib\index.js:17:6) at Object. (c:...\AppData\Roaming\npm\node_modules\cucumber\bin\cucumber.js:4:5) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3

philokev commented 9 years ago

Hi,

I submitted a pull request for this problem here:

https://github.com/AndrewKeig/protractor-cucumber/pull/21

rudenoise commented 9 years ago

Can confirm that this works, please merge.

philokev commented 9 years ago

I sent an email to the maintainer, since we have two open issues on this already.

AndrewKeig commented 9 years ago

Apologies for the wait, this is on npm. Thanks.