I can get the example working, but when I apply it to my own page, it
simply hangs. Then when I close the ruby prompt I'm given the message:
Exit code: -1073741510

Currently using:

$browser.button(:value, "Button to press").click
$browser.javascript_dialog.button('OK').click

On Oct 19, 9:31 am, Željko Filipin <[email protected]>
wrote:
> On Wed, Oct 19, 2011 at 10:14 AM, Matt <[email protected]> wrote:
> > popup = Watir::IE.attach(:title,'Message from webpage')
>
> This is used for new browser windows. Looks like you are dealing with
> javascript popup:
>
> http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups
>
> Željko
> --
> watir.com - community manager
> watir.com/book - author
> watirpodcast.com - host

-- 
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