I'm wondering if this is possible. I use the VCR gem (http://rubygems.org/gems/vcr) for recording API calls within my models for my unit tests. This works fine. For more higher level testing I'm using Cucumber. In my app I also test stuff with google maps markers, geocoder etc. So I'm wondering if there is a solution for providing something like VCR for the client side.
Maybe someone got some ideas,
thx, tux
[EDIT] I forgot to mention that I use Selenium for javascript tests inside cucumber. So JavaScript calls should also be mocked.