This is fixed with commit https://github.com/watir/watir-classic/commit/8b6b8445686e53b7929d45d75bb8f61e5989e28b
Thanks for reporting it! Jarmo Pertman ----- IT does really matter - http://itreallymatters.net On Monday, November 18, 2013 7:47:19 PM UTC+2, Justin Ko wrote: > > I created an issue for this - > https://github.com/watir/watir-classic/issues/64<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fwatir%2Fwatir-classic%2Fissues%2F64&sa=D&sntz=1&usg=AFQjCNGarj4WLb5oDjl68Xt-9kuFPne9eg> > > In the short term, I think the best solution might be to simply monkey > patch a focus method in for the modal dialog. This would address the > exception without impacting focusing of elements in the regular part of the > browser (ie not modal dialog). > > require 'watir-classic' > module Watir > class ModalDialog > def focus > end > end > end > > Justin > > On Tuesday, November 5, 2013 2:24:57 AM UTC-5, Stefano wrote: >> >> Hi, there is the same issue with Ruby 2.0.0 and watir-classic (4.0.1). >> Any idea? >> >> Stefano >> > -- -- 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] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
