I created an issue for this - 
https://github.com/watir/watir-classic/issues/64

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.

watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com

--- 
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 watir-general+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to