Refresh a page:
driver.get driver.url

Waiting:

http://seleniumhq.org/docs/04_webdriver_advanced.jsp#explicit-and-implicit-waits

Something like this:
_____________________________

tried = false

begin

  driver.get "https://example.com/"
  wait = Selenium::WebDriver::Wait.new(:timeout => 10) # seconds
  element = wait.until { driver.find_element(:name => "username") }
  element.send_keys "*****"
  element = driver.find_element :name => "password"
  element.send_keys "*****"
  element.submit

rescue => Timeout

  fail if tried
  tried = true
  retry

end

-- 
Posted via http://www.ruby-forum.com/.