Ie.start & ie.new


#1

Hello,

I am a beginner to Ruby & Watir, as new as three days :slight_smile: 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

set a variable

test_site = ‘http://www.google.com

open the IE browser

ie = Watir::IE.new # this opens up a blank . fresh / new browser
ie.goto(test_site) # This opens up another browser


#2

On Oct 9, 10:03 pm, Vijay P. removed_email_address@domain.invalid wrote:

ie.goto(test_site) # This opens up another browser

Posted viahttp://www.ruby-forum.com/.

search the watir mailing list for an answer. Its been asked several
times before. Its something to do with vista.

Paul