Add your example to the top of the page.

Zeljko

On Saturday, June 18, 2011, Darryl Brown <d-l-br...@roadrunner.com> wrote:
> I would like to add this example to -
> http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
>
> Should I add it to the existing page or create a sub-page for 1.9.0+ ?
> The existing page is extremely 'busy'.
>
> Thanks,
> Darryl
>
> On Jun 17, 9:51 pm, Darryl Brown <d-l-br...@roadrunner.com> wrote:
>> Hello all,
>>
>> Here is a simple example for handling a popup in Watir 1.9.0 / Ruby
>> 1.8.7. This was tested on Win 7 with IE8.
>> "$ie.javascript_dialog.button('OK').click" replaces WinClicker.
>>
>> require 'watir'
>>
>> $ie = Watir::IE.new
>> $ie.goto "http://www.google.com/preferences?hl=en";
>> $ie.radio(:id,"nof").set
>> $ie.button(:name,"submit2").click_no_wait
>> $ie.javascript_dialog.button('OK').click
>> $ie.close
>>
>> Big thanks to Hugh and the Watir dev team for 1.9.0
>>
>> Regards,
>> Darryl
>
> --
> Before posting, please read http://watir.com/support. In short: search before 
> you ask, be nice.
>
> watir-general@googlegroups.com
> http://groups.google.com/group/watir-general
> watir-general+unsubscr...@googlegroups.com
>

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

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

Reply via email to