Have tried multiple variations. Even used Testwise 3 recorder to see if it came up with something different. For some reason, I can't get watir to click on this OK button. It just keeps saying assert_exists : unable to locate element. I'm using Firefox 15.

It might possibly be because the developer for some reason repeats this exact same block twice on the page. So the same OK and CANCEL buttons are on there twice with the same values. If this is the case, how do I tell it to just click on the first one that matches value=OK?
–
DerekSep 20 '12 at 14:50

I also tried identifying first button using index, but still getting: C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.1/lib/watir-webdriver/el‌​ements/element.rb:365:in assert_exists': unable to locate element, using {:index=>1, :tag_name=>"button"} (Watir::Exception::UnknownObjectException) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/watir-webdriver-0.6.1/lib/watir-webdriver/el‌​ements/element.rb:95:in click'
–
DerekSep 20 '12 at 15:06