I am a beginner to Ruby & Watir, as new as three days I am facing
some beginner issues …
When trying to use ie.new or ie.start, a fresh IE opens up and when
using ie.goto on that object opens a new IE browser to navigate to the
site. I tried physically typing the url on the blank / fresh browser
that ruby opens up after ie.new or ie.start but I get this error “For
your computers security, websites that are in different security zones
should open up in different windows”.
Is there some stting changes that will solve this problem as clearly
none of you guys are facing this issue with a ie.new or ie.start.
The below code will cause the same problem,
require ‘watir’ # the watir controller
test_site = ‘http://www.google.com’
ie = Watir::IE.new # this opens up a blank . fresh / new browser
ie.goto(test_site) # This opens up another browser