This approach would work. It's what Selenium does.
Bret
aidy lewis wrote:
Hi,
Why isn't Watir using Javascript to deal with confirm or alert boxes?
Would it not be easier to pass something like this to the address bar:
javascript:void(window.confirm=function(){return true;}); ?
Aidy
Hi Bret,
On 19/12/2008, Bret Pettichord b...@pettichord.com wrote:
This approach would work. It's what Selenium does.
Bret
aidy lewis wrote:
Hi,
Why isn't Watir using Javascript to deal with confirm or alert boxes?
Would it not be easier to pass something like this to the