Try b = browser.windows.last.browser

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