I assume you are talking about javascript alert/confirm popups.

I would like to standardise the interface for dealing with these popups. And
i would be nice if we could provide users with a choice of mechanism for how
these would be handled.

One issue I see is that injecting javascript to handle the popups would have
to be done before clicking the button that invokes the popup. So that
undermines the idea of having a standard interface.

I am working hard to have the same interface for all implementations of
Watir, including, e.g. Celerity.

Can you make a proposal for the API you'd like to implement?

Bret

On Wed, Nov 18, 2009 at 10:56 AM, aidy lewis <[email protected]>wrote:

> Hi,
>
> I think we need to internalise dealing with pop-ups within Watir.
>
> I suggest we send JavaScript to override the pop-ups?
>
> WDYT?
>
> Aidy
> _______________________________________________
> Wtr-development mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/wtr-development
>



-- 
Bret Pettichord
Lead Developer, Watir, www.watir.com

Blog, www.io.com/~wazmo/blog
Twitter, www.twitter.com/bpettichord
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to