If I run this command in IRB it works: @browser.li(:text=>/Text File/i).checkbox.set
However, that same line in my test script throws this error: Watir::Exception::UnknownObjectException: unable to locate element, using {:text=>/Text\ File/i, :tag_name=>"li"} What is going on, here? Why the inconsistency? -- 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