From: ajay paswan Date: 2012-08-28T15:53:32+09:00 Subject: #passing value instead of constant. search="id" name="text1" browser.text_field(search, name).flash #is not working, ERROR:invalid attribute: "id" but browser.text_field(:id, name).flash #working I want something like the first one where I'll pass a string "id" or class. Isn't it possible? -- Posted via http://www.ruby-forum.com/.