On Mon, Feb 13, 2012 at 11:06 AM, Cristina Dumitrescu < cristina.watir.toro...@gmail.com> wrote: > $browser.div(:class, "searchres").div(:class => 'data a' , @target = 'aaa-ldap').span(:class => "r", :text => /aaa-ldap/).flash
I do not see where you defined @target variable. Make sure it is symbol, not string: http://ruby-doc.org/core-1.9.3/String.html#method-i-to_sym Željko -- watir.com/book - author -- 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