Actually am stuck in a problem.
I am performing the following set of commands:
ie = Watir::IE.new
When I execute, it successfully opens a new browser with the correct
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 and will perform the operation of setting the text box too, but my
objective is not to open a new IE with google url but to perform the set
command in the existing browser only.
Can anyone help how to do that?