Opening Internet Explorer with Ruby

I have been doing a lot of web automation these days for testing and automating web based applications without APIs.

To open Internet Explorer with Ruby just use OLE.

require 'win32ole'
ie = WIN32OLE.new('InternetExplorer.Application')
ie.visible = true
ie.gohome