I have a lot experience in automating JQuery+Watir and can assure you that
DOM tree can be different for IE and Firefox representations
So could you please check DOM using Firebug in Firefox to make sure that:
<div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix"><div
class="ui-dialog-buttonset"><button class="ui-button ui-widget
ui-state-default ui-corner-all ui-button-text-only" type="button"
role="button"><span class="ui-button-text">
OK
</span></button></div></div></div>
has the same appearance?
That OK button can be inside of something really different
also you can try, just to check that button can be pressed:
browser.button(:class, "ui-button ui-widget ui-state-default ui-corner-all
ui-button-text-only").click
but I think that button can have another class in Firefox
--
--
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.