From: Raj pal Date: 2013-03-27T20:37:41+09:00 Subject: Re: question on watir b.text_fields.each { |t| puts t.parent.labels.first.text }(I made it as text to print the value) This above code perfectly working for Gmail, But for some screens, it says that " undefined method `text' for nil:NilClass", what is the problem here? RAJ -- Posted via http://www.ruby-forum.com/.