Headless automation for Internet Explorer