If I understand your question correctly, here's the basics of how to do it 
in Watir-webdriver (not 100% about Watir, but it's probably the same)...

*module Watir*
*  class Element*
*    def target*
*      @how = :ole_object *
*      return @o.target*
*    end*
*  end *
*end*

That code will then allow you to use *div(:target=>"aaa-ldap")* in your 
Watir code (note, that's different than what you have, which is "*@target =*" . 

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

Reply via email to