title: changing selenium domain/subdomain within cucumber scenarios
body: <p>So, I have a Rails webapp that utilizes subdomains for separating the admin functionality from the public functionality using subdomain-fu. 
  So there is functionality(that I want to test!) contained within two urls(eg <code>admin.example.com</code> and <code>www.example.com</code>). I want some scenarios to run against the admin domain, and some against the www domain.</p>
  
  <p>My problem is that I cant figure out how to change the domain that selenium uses at any time after startup. I can put something like this in my env.rb:</p>
  
  <pre><code>Webrat.configure do |config|
    config.mode = :selenium
    config.application_address = "admin.example.com"
  end
  </code></pre>
  
  <p>And it will work, but only for the scenarios that need the admin domain. If I try something like:</p>
  
  <pre><code>host! "www.example.com"
  </code></pre>
  
  <p>inside my steps, well it seems to just be ignored by selenium, which goes on using "admin.example.com"</p>
  
  <p>Any ideas? Or if its not possible, any ideas for a workaround?</p>