just_add_watir | Advanced recipes for Watir
21Aug/08Off

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.

Tagged as: , Comments Off
Comments (1) Trackbacks (0)
  1. Your post saved my butt! Thanks.

Trackbacks are disabled.