Re: Watir : Working in same session of IE



From: list-bounce@xxxxxxxxxxx
# Actually am stuck in a problem.
# I am performing the following set of commands:
# require 'watir'
# ie = Watir::IE.new
# ie.goto("http://www.google.com";)
# When I execute, it successfully opens a new browser with the correct
# google url.
# Now, in this code, I simply want to add:
# ie.text_field(:name, "q").set 'roger federer'
# If I append the above line to the above code, it will open a
# new session of IE

that's weird. i just tried your code, and it does *not open another (new) session (in that case, i only have 1 ie session open, not 2).

kind regards -botp