There was a ruby watir recorder written by Scott Hanselman(of Microsoft of course) a long time back. It was a full fledged recorder and like other recorders had the issue that the code generated couldn't be reusable.
I made some small modifications to this so that it identifies the element IDs and wraps the element as a property in a module. Basically the format of the code generated would be as folows: module MyPage def first_name $browser.text_field(:id, "FirstName") end def first_name $browser.text_field(:id, "FirstName") end end -- 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