[wtr-general] Re: Watir-WebDriver and JavaScript Alerts

2011-11-18 Thread Chuck van der Linden
On Oct 4, 2:02 am, Alister Scott wrote: > It's a shame that you'll be (potentially) removing the first style, as I > find it more elegant and watir-esque, although I have had some issues using > it. > Either way, let me know which is the preferred method and I'll > updatehttp://watirwebdriver.com

[wtr-general] Re: Watir-WebDriver and JavaScript Alerts

2011-10-01 Thread Jeff Nyman
Jari: Thank you so much for your response. Just having you mention browser.driver.switch_to.alert also then let me see that I could get the text from the JavaScript alert as well (with browser.driver.switch_to.alert.text). I can't thank you enough for this information. Much appreciated. - Jeff --