At the risk of answering in an
XY Problem way I read you earlier post about
Win32::IEAutomation. Having recently gone through my own dail-up on Selenium and to reinforce what
venkatesan_G02 implied, IE is buggy when using Selenium. As long as your only goal is to automate access to a web page you're better off sticking with automating a Firefox browser since the DOM inspector support is better and IE fails to respond to Selenium in weird ways.