Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error using this with Capybara 1.0.0 #52

Open
schneems opened this issue Aug 30, 2011 · 2 comments
Open

Getting an error using this with Capybara 1.0.0 #52

schneems opened this issue Aug 30, 2011 · 2 comments

Comments

@schneems
Copy link

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) ??

@smparkes
Copy link
Owner

Hmm ... isn't it locked to capy 0.4.0?

The truth is, this driver is pretty inactive these days. There are a lot a things working against it, probably most predominantly the inability to get johnson/spidermonkey working with 1.9.2 but also related to getting the johnson envjs stuff merged upstream.

I'd suggest trying to find something that works against v8 ... I've heard things that work against webkit for the browser environment but haven't had time to pursue them at this point ...

@jamiecobbett
Copy link

The best option I've come across (though not actually used, yet) is capybara-webkit alternatively, there is the less active capybara-zombie

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants