Q. How do I attach to a current IE session?

A. Use the .attach method…
Example watir:

@b=Watir::IE.attach(:title,//)

I have used regex here for the window title, you can be more specific if you like.

Social tagging: >

One Response to Q. How do I attach to a current IE session?

  1. Bill Mosteller

    Your post saved my butt! Thanks.