One of the things you can do is an IE setting.  In IE:

1.  Select the menu item Tools >> Internet Options. 

2.  Select the Advanced tab.

3.  Under the heading ‘Browser’, uncheck the option ‘Reuse windows for launching shortcuts’

4.  Click Apply

 

The other option is have your developers force a new window using _javascript_ something like:

<INPUT type="button"

value="New Window!"

>

'mywindow','width=400,height=200,toolbar=yes, location=yes,directories=yes,

status=yes,menubar=yes,scrollbars=yes,copyhistory=yes, resizable=yes')">

 

Hope this helps,

 

--Mark


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Torres, Ben (HQP)
Sent: Thursday, November 17, 2005 11:40 AM
To: [email protected]
Subject: [Wtr-general] Open new browser after clicking button

 

Right now, when I click a button, the page shows on the same browser page.  Can Watir have the page open on a new browser page instead?

 

Thanks in advance,

ben

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to