From: Chris Morris Date: 2003-05-08T22:25:57+09:00 Subject: Re: WIN32OLE problems > puts ie.document > > but the last line did not work. You have to poke around the documentation to sort of figure out the right way to do things -- it's not always obvious: S:\SF-scrapware\scrapware\cliecontroller>more test.rb require 'win32ole' @ie = WIN32OLE.new('InternetExplorer.Application') @ie.visible = true @ie.Navigate("http://www.ruby-lang.org") S:\SF-scrapware\scrapware\cliecontroller>irb irb(main):001:0> require 'test' true irb(main):002:0> @ie.document # ... is just another COM object # irb(main):003:0> @ie.document.documentElement.innerHtml "Ruby Home Page\r\n\r\n