You can use webrat for any application, not just Rails. What you do is use the Cucumber + Webrat + Mechanize adapter. This combination makes regular HTTP requests against your web application.
In fact, at the moment I am working on a simple smoketest that tests the portal portal and can verify that everything works and works in different environments. (localhost, test env, staging, production).
. :
//webrat/
, Webrat Mechanize. , .
, JavaScript, , , - (Watir, Firewatir, Selenium ..).