Reputation: 981
Anyone has experience for setting cucumberjs with phantomjs? Any related resource will be helpful. Thanks.
Upvotes: 1
Views: 3049
Reputation: 5290
Cucumber.js example running tests in PhantomJS https://github.com/patrickarlt/cucumberjs-example
Upvotes: 0
Reputation: 33
npm -g install phantomjs
var client= webdriverjs.remote({ desiredCapabilities: {browserName: 'phantomjs'},logLevel:verbose'});
Upvotes: 1
Reputation: 169
There is a library Hardy.io that uses Cucumber to drive Selenium based CSS tests - http://hardy.io/.
This doesn't actually run Cucumber within PhantomJS, but rather runs Cucumber tests within Node, and uses Selenium Webdriver for introspection of values.
Upvotes: 0
Reputation: 1657
There are not many resources out there about it yet. A few people have been using Phantomjs with Cucumber.js and there are some discussions about it on the Cukes list.
HTH.
Upvotes: 0