Rails 3 uses data-method="delete" in link tags to mark the request method. Is it desirable to change Capybara Rack-Test driver to take it into account? This allows us to still use Rack-Test in app's early stages.
Now this I can get behind. This is sufficiently generic that other web frameworks could feasibly implement the same thing. I'd merge this into the mainline rack-test adapter.
Here is a patch:
Could you do a fork and pull request? I hate applying patches ;)
Btw, we can change the browser used for Selenium::Webdriver, like this:
Do you think it's a good idea to add it to the README?
That's a neat trick with selenium webdriver, might be nice to add this to the README, yes!
Can you switch browsers in Selenium during a test? I need to write some Cucumber tests that use several (real, not simulated) browsers at once, so would be great if Selenium supported this.
I'm currently going down the route of spiking a driver whose logic is mostly on the client side -- see http://github.com/jcoglan/terminus. Not much to it yet.
Theoretically: yes you could have different drivers for different webdriver backends, and then you'd be able to switch between them seemlessly with tags the same way.
Practically though this is not currently implemented.