I ran across an issue with Ruby 1.9.2, Watir 2.01 and compatibility with older versions without zero based indexing.
I'm running on Win7, IE8. I have a page with 5 radio buttons with the below option set in my code. Watir.options[:zero_based_indexing] = false Here is my code: ie.radios[5].click ie.radios[4].click ie.radios[3].click ie.radios[2].click ie.radios[1].click This does not work. I get an error for index 5. I assumed that my old code would be able to run in the zero based indexing environment with the above option set. This code works fine: ie.radios[4].click ie.radios[3].click ie.radios[2].click ie.radios[1].click ie.radios[0].click # zero based indexing Is this the way it is supposed to work for radio buttons? -- 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