Chapter 15. Scripting and Automating Internet Explorer

The chapters in this book have thus far focused on IE development from the perspective of web pages, scripts, and extensions. These objects have an insider's view on how the browser operates as well as intimate access to its public API and state. Objects don't have to live inside IE to access its APIs, settings, and functionality, however.

In this chapter I will provide a quick overview of scripting IE through a number of methods provided with the Windows operating system. This is not a complete exploration of scripting; rather, my goal is to get you started with the IE automation object in various scripting languages, launching via thecommand line, and so on.

I begin by discussing IE's command-line ...

Get Pro Internet Explorer 8 & 9 Development: Developing Powerful Applications for The Next Generation of IE now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.