Hi Folks,

I am going to pass variable to attach method to use general code to
support multiple scripts.
ie. @ie = Watir::IE.attach(:title,/.*MatchString.*/)

as we know, attach method can use :title or :url to attach. also, the
string to match I would like to use variable to support different
requirement. in this case, if I want to pass :url as how, and another
string variable as "what" in attach method.

I used irb to try this way, but no luck. Anybody can help me?
Your assistance is much appreciated.

xulivan

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

You received this message because you are subscribed to 
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To unsubscribe: watir-general+unsubscr...@googlegroups.com

Reply via email to