Hello, I am trying to execute the Javascript inside the frame. (Watir/Ruby
env)
My code look like this:
browser.frame(:id, frame_id).execute_script “window.confirm = function() {
return true; }”
browser.frame(:id, frame_id).button(:id, “btnDelete”).click
Similar code works fine on the pages without frames. Is there a way to
dismiss JavaScript dialog on pages with frames?
Thanks,
Gene
--
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]