Thanks for the suggestion but got the same result in :sinatra mode
I managed to get it working eventually. Here's what I needed to do:
Patch selenium_rc_server.rb and application_servers/base.rb, replacing
0.0.0.0 with 127.0.0.1
That got selenium RC running, however mongrel would not start. To
solve that I was eventually forced to switch from using the system
command to using IO.popen and make some modifications to the actual
mongrel command.
The next problem was that selenium seemed to fail to detect that a
browser window had been opened, timing out waiting for it. I solved
that by updating selenium-server.jar to the latest version.
And finally I had to set config.selenium_browser_startup_timeout = 30
because the test environment had not finished loading by the time
selenium tried to access it, and would time out.
Is there any interest in a patch that implements windows support for
the selenium mode?
Is it possible to make Webrat switch to selenium mode for specific
tests only?
I don't really like that all the integration tests are now run in a
browser when I only need it for a couple of tests...