On Sat, Oct 15, 2011 at 12:25 AM, Matt <[email protected]> wrote:
> I want to get all of the text
> boxes on the page, regardless of their name and use "set" to set their
> values.

Try this (not tested):

browser.text_fields.each {|text_field| text_field.set "lorem ipsum"}

Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host

-- 
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]

Reply via email to