Sorry for the confusing title, i've been really trying to find a good solution to writing automated tests for maintenance projects (To identify areas that potentially break after doing upgrades to rails versions or w/e it may be. Not all of our web apps are rails though).
Im somewhat familiar with using Capybara/Cucumber (Although Cucumber will be useless for this since I won't need to display any acceptance tests or anything human readable).
Anyways, is there a way for me to write the test and see them happen on a normal browser, then easily switch it to headless (Like using Poltergeist/PhantomJS)?
Capybara seems ideal for this, although im a bit confused.....if Im not using Cucumber with Capybara, what DO I use language wise? Rspec?
Edit: Also any suggestions on the initial driver to use? I need to be able to change things easily without having to rewrite the tests. I've seen that Webkit is a bit faster than Selenium? But I saw that webkit was also headless....and I need to confirm visually the tests are ok (And to Demo them) so im not sure that will work?