That's correct. These deprecation warnings were added when we had #alert, #confirm and #prompt. Later we decided to use only #alert but I forgot to update deprecation warnings.
Fixed in https://github.com/watir/watir-webdriver/commit/852816fe2e103febbf80f758b93791d8f68de97c Cheerz, Alex Rodionov On 06/29/2012 08:09 PM, Željko Filipin wrote: > I have a question about the new alert API. > > I have seen this error message: > > "AlertHelper is deprecated. Use the new Alert API instead (e.g. > browser.confirm.close)" > > JavaScript Dialogs page[1] says we should use browser.alert > everywhere. Is there a bug in the deprecation message[2]? > > [1] http://watirwebdriver.com/javascript-dialogs/ > [2] > https://github.com/watir/watir-webdriver/blob/master/lib/watir-webdriver/extensions/alerts.rb#L42 > > Željko > -- > filipin.eu <http://filipin.eu> > > > _______________________________________________ > Wtr-development mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/wtr-development
_______________________________________________ Wtr-development mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-development
