Unsupported driver mechanize, use one of [:rack_test, :selenium, :mechanize] #9

Closed
aaronchi opened this Issue May 30, 2012 · 4 comments

Projects

None yet

2 participants

I'm using mechanize but it tells me that the driver is not supported. This is being used via the Capybara DSL

oh. I see that mechanize isn't supported right now. Weird that it's in the list.

Owner
nruth commented May 31, 2012

It's a bug in the error message.

This was over-optimism on my part I think.
https://github.com/nruth/show_me_the_cookies/blob/master/lib/show_me_the_cookies.rb#L53 indicates it's just asking Capybara what the installed drivers are, which isn't a good idea as it's not constant.

Mechanise should be supportable, but I've never gotten round to using it.

Yep. I managed to add support for mechanize pretty easily. Was considering a push but, as you noted in the other open issue, there is some messiness in the way the adapters are managed and general inconsistencies between them. I could take a pass at cleaning it up a bit if you want.

Owner
nruth commented May 31, 2012

If you could that'd be great!

@nruth nruth closed this Jan 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment