thatcher / env-js

A pure-JavaScript browser environment.
http://www.envjs.com/
464 stars 75 forks source link

Getting an error using this with Capybara 1.0.0 #41

Closed schneems closed 13 years ago

schneems commented 13 years ago

It sates that the Node cannot inherit from a module, if you patch that up by changing the node class to

class Node < Capybara::Driver::Node

Then you get a driver not found error, which can be fixed by adding

Capybara.register_driver :envjs do |app|
  Capybara::Driver::Envjs.new(app)
end

But then i got stuck with another claiming that it Capybara::Driver::Envjs::Node didn't have a node method.

Is anyone else able to get this running with capybara 1.0.0 (i'm also using spec) ??

schneems commented 13 years ago

Sorry, meant to post this to capybara-envjs