xolvio / meteor-webdriver

WebdriverIO for Meteor
https://atmospherejs.com/xolvio/webdriver
MIT License
28 stars 9 forks source link

Error starting GhostDriver #17

Closed mgbellaire closed 9 years ago

mgbellaire commented 9 years ago

Starting up meteor with VELOCITY_DEBUG=1 because PhantomJS was failing for some reason. This is the last error to show up in the console log.

[xolvio:webdriver][phantom output] [ERROR - 2015-01-25T19:18:48.554Z] GhostDriver - main.fail - {"message":"Could not start Ghost Driver","line":82,"sourceId":169186800,"sourceURL":":/ghostdriver/main.js","stack":"Error: Could not start Ghost Driver\n    at :/ghostdriver/main.js:82","stackArray":[{"sourceURL":":/ghostdriver/main.js","line":82}]}

Need anymore info?

mgbellaire commented 9 years ago

I am also getting some weird error that says that Phantom is running, but I am not seeing any running processes for phantom.

It just gives me this plain and simple error: [xolvio:webdriver] Phantom is already running, not starting a new one

mgbellaire commented 9 years ago

Sorry, Sam. :( I was getting these errors because I didn't add the callback(); to the end of a step definition. _facepalm

samhatoum commented 9 years ago

Glad you found it!

I'm going to add a default timeout on step defs soon

mgbellaire commented 9 years ago

Glad this was still useful. I am starting to use Webdriver with Cucumber.JS in Meteor. It's the bomb!