Excellent! Thank you very much. This makes my life a whole lot easier. I realize the "/" signifies the start and end of a regex, but What does the $ mean?
 
Brian


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bret Pettichord
Sent: Thursday, February 09, 2006 11:30 AM
To: [email protected]
Subject: Re: [Wtr-general] Modifying Watir source

If you want to go ahead and change your copy of watir.rb, just go ahead and do it. Just edit your file. There is no compiling or anything that you need to do other than that.

However, in the specific case you mention, Watir already has the functionality you want. Try ie.text_field(:name, /nameTextBox$/).set("whatever")

Bret
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to