It's hard to tell without the code. Is openbrowser being executed twice?
That's just a guess, since somewhere in there it's being executed multiple
times. Code would help.



Charley Baker
Lead Developer, Watir, http://watir.com


On Thu, May 12, 2011 at 2:44 PM, Anne <[email protected]> wrote:

> I'm not sure this is the correct group to ask this question of, but
> here goes...
> I'm using cucumber and ruby/watir to test a website.
>
> When I execute my OpenBrowser routine, I do a browser.new and a new
> window is opened.
> Next I browser.goto my URL (which is different depending on the type
> of user I will login as), and a second browser is open and the web
> page is opened in that second browser.
>
> Can anyone tell me why I'm seeing 2 browsers?  I'm sure it's something
> basic, but I have no idea what...
>
> Thanks for your help!
> Anne
>
> --
> Before posting, please read http://watir.com/support. In short: search
> before you ask, be nice.
>
> [email protected]
> http://groups.google.com/group/watir-general
> [email protected]
>

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to